Message ID | 20190705150502.6600-1-ivan.khoronzhuk@linaro.org |
---|---|
Headers | show |
Series | net: ethernet: ti: cpsw: Add XDP support | expand |
From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Date: Fri, 5 Jul 2019 18:04:57 +0300 > This patchset adds XDP support for TI cpsw driver and base it on > page_pool allocator. It was verified on af_xdp socket drop, > af_xdp l2f, ebpf XDP_DROP, XDP_REDIRECT, XDP_PASS, XDP_TX. > > It was verified with following configs enabled: ... I'm applying this to net-next, please deal with whatever follow-ups are necessary. Thanks!
From: David Miller <davem@davemloft.net> Date: Sun, 07 Jul 2019 18:31:46 -0700 (PDT) > From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> > Date: Fri, 5 Jul 2019 18:04:57 +0300 > >> This patchset adds XDP support for TI cpsw driver and base it on >> page_pool allocator. It was verified on af_xdp socket drop, >> af_xdp l2f, ebpf XDP_DROP, XDP_REDIRECT, XDP_PASS, XDP_TX. >> >> It was verified with following configs enabled: > ... > > I'm applying this to net-next, please deal with whatever follow-ups are > necessary. Nevermind, you really have to fix this: drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_submit_si’: drivers/net/ethernet/ti/davinci_cpdma.c:1047:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buffer = (u32)si->data; ^ drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_idle_submit_mapped’: drivers/net/ethernet/ti/davinci_cpdma.c:1114:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] si.data = (void *)(u32)data; ^ drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_submit_mapped’: drivers/net/ethernet/ti/davinci_cpdma.c:1164:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] si.data = (void *)(u32)data; ^
On Sun, Jul 07, 2019 at 06:35:11PM -0700, David Miller wrote: >From: David Miller <davem@davemloft.net> >Date: Sun, 07 Jul 2019 18:31:46 -0700 (PDT) > >> From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> >> Date: Fri, 5 Jul 2019 18:04:57 +0300 >> >>> This patchset adds XDP support for TI cpsw driver and base it on >>> page_pool allocator. It was verified on af_xdp socket drop, >>> af_xdp l2f, ebpf XDP_DROP, XDP_REDIRECT, XDP_PASS, XDP_TX. >>> >>> It was verified with following configs enabled: >> ... >> >> I'm applying this to net-next, please deal with whatever follow-ups are >> necessary. > >Nevermind, you really have to fix this: > >drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_submit_si’: >drivers/net/ethernet/ti/davinci_cpdma.c:1047:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > buffer = (u32)si->data; > ^ >drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_idle_submit_mapped’: >drivers/net/ethernet/ti/davinci_cpdma.c:1114:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > si.data = (void *)(u32)data; > ^ >drivers/net/ethernet/ti/davinci_cpdma.c: In function ‘cpdma_chan_submit_mapped’: >drivers/net/ethernet/ti/davinci_cpdma.c:1164:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > si.data = (void *)(u32)data; > ^ Actrually that's fixed in reply v9 patch. But, nevermind, i will send v9 for whole series. -- Regards, Ivan Khoronzhuk