Re: [PATCH net-next 2/6] sfc: perform XDP processing on received packets.

2019-10-22 Thread Jesper Dangaard Brouer
On Tue, 22 Oct 2019 16:38:27 +0100 Charles McLachlan wrote: > +/** efx_do_xdp: perform XDP processing on a received packet > + * > + * Returns true if packet should still be delivered. > + */ > +static bool efx_do_xdp(struct efx_nic *efx, struct efx_channel *channel, > +struct

Re: [PATCH net-next 2/6] sfc: perform XDP processing on received packets.

2019-10-22 Thread Edward Cree
On 22/10/2019 16:38, Charles McLachlan wrote: > Adds a field to hold an attached xdp_prog, but never populates it (see > following patch). Also, XDP_TX support is deferred to a later patch > in the series. > > Signed-off-by: Charles McLachlan > --- > @@ -764,6 +872,16 @@ void efx_init_rx_queue(s

[PATCH net-next 2/6] sfc: perform XDP processing on received packets.

2019-10-22 Thread Charles McLachlan
Adds a field to hold an attached xdp_prog, but never populates it (see following patch). Also, XDP_TX support is deferred to a later patch in the series. Signed-off-by: Charles McLachlan --- drivers/net/ethernet/sfc/efx.c| 4 +- drivers/net/ethernet/sfc/net_driver.h | 7 ++ drivers/