linux/drivers/net/ethernet/mellanox
Jesper Dangaard Brouer 95357907ae mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full
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: 9ecc2d8617 ("net/mlx4_en: add xdp forwarding and data write support")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Reviewed-by: Brenden Blanco <bblanco@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-19 01:32:19 -04:00
..
mlx4 mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full 2016-09-19 01:32:19 -04:00
mlx5/core net/mlx5e: Implement RX mapped page cache for page recycle 2016-09-17 09:51:40 -04:00
mlxsw mlxsw: spectrum: Implement offload stats ndo and expose HW stats by default 2016-09-18 22:33:42 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00