linux_dsm_epyc7002/drivers/net/ethernet/cavium
Jesper Dangaard Brouer e6dbe9397e Revert "net: thunderx: Add support for xdp redirect"
This reverts commit aa136d0c82.

As I previously[1] pointed out this implementation of XDP_REDIRECT is
wrong.  XDP_REDIRECT is a facility that must work between different
NIC drivers.  Another NIC driver can call ndo_xdp_xmit/nicvf_xdp_xmit,
but your driver patch assumes payload data (at top of page) will
contain a queue index and a DMA addr, this is not true and worse will
likely contain garbage.

Given you have not fixed this in due time (just reached v4.16-rc1),
the only option I see is a revert.

[1] http://lkml.kernel.org/r/20171211130902.482513d3@redhat.com

Cc: Sunil Goutham <sgoutham@cavium.com>
Cc: Christina Jacob <cjacob@caviumnetworks.com>
Cc: Aleksey Makarov <aleksey.makarov@cavium.com>
Fixes: aa136d0c82 ("net: thunderx: Add support for xdp redirect")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-14 14:23:39 -05:00
..
common net: cavium: fix NULL pointer dereference in cavium_ptp_put 2018-02-12 14:38:37 -05:00
liquidio liquidio: Use zeroing memory allocator than allocator/memset 2018-01-02 22:01:27 -05:00
octeon ethernet: cavium: octeon: Switch to using netdev_info(). 2017-10-26 10:03:35 +09:00
thunder Revert "net: thunderx: Add support for xdp redirect" 2018-02-14 14:23:39 -05:00
Kconfig net: thunderx: add timestamping support 2018-01-16 14:31:14 -05:00
Makefile net: add support for Cavium PTP coprocessor 2018-01-16 14:31:14 -05:00