Re: [net PATCH V3] mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full

2016-09-19 Thread Jesper Dangaard Brouer
On Mon, 19 Sep 2016 01:39:25 -0400 (EDT) David Miller wrote: > From: Jesper Dangaard Brouer > Date: Sat, 17 Sep 2016 17:48:00 +0200 > > > The XDP_TX action can fail transmitting the frame in case the TX ring > > is full or port is down. In case of TX

Re: [net PATCH V3] mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full

2016-09-18 Thread David Miller
From: Jesper Dangaard Brouer Date: Sat, 17 Sep 2016 17:48:00 +0200 > The XDP_TX action can fail transmitting the frame in case the TX ring > is full or port is down. In case of TX failure it should drop the > frame, and not as now call 'break' which is the same as XDP_PASS. >

Re: [net PATCH V3] mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full

2016-09-18 Thread Tariq Toukan
On 17/09/2016 6:48 PM, Jesper Dangaard Brouer wrote: The XDP_TX action can fail transmitting the frame in case the TX ring is full or port is down. In case of TX failure it should drop the frame, and not as now call 'break' which is the same as XDP_PASS. Fixes: 9ecc2d86171a ("net/mlx4_en: add

[net PATCH V3] mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full

2016-09-17 Thread Jesper Dangaard Brouer
The XDP_TX action can fail transmitting the frame in case the TX ring is full or port is down. In case of TX failure it should drop the frame, and not as now call 'break' which is the same as XDP_PASS. Fixes: 9ecc2d86171a ("net/mlx4_en: add xdp forwarding and data write support") Signed-off-by: