Re: [PATCH v8 net-next 0/5] net: ethernet: ti: cpsw: Add XDP support

From: Ivan Khoronzhuk
Date: Mon Jul 08 2019 - 16:33:01 EST


On Sun, Jul 07, 2019 at 06:35:11PM -0700, David Miller wrote:
From: David Miller <davem@xxxxxxxxxxxxx>
Date: Sun, 07 Jul 2019 18:31:46 -0700 (PDT)

From: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
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