numam-dpdk/drivers/net
Ferruh Yigit 70815c9eca ethdev: add new offload flag to keep CRC
DEV_RX_OFFLOAD_KEEP_CRC offload flag is added. PMDs that support
keeping CRC should advertise this offload capability.

DEV_RX_OFFLOAD_CRC_STRIP flag will remain one more release
default behavior in PMDs are to keep the CRC until this flag removed

Until DEV_RX_OFFLOAD_CRC_STRIP flag is removed:
- Setting both KEEP_CRC & CRC_STRIP is INVALID
- Setting only CRC_STRIP PMD should strip the CRC
- Setting only KEEP_CRC PMD should keep the CRC
- Not setting both PMD should keep the CRC

A helper function rte_eth_dev_is_keep_crc() has been added to be able to
change the no flag behavior with minimal changes in PMDs.

The PMDs that doesn't report the DEV_RX_OFFLOAD_KEEP_CRC offload can
remove rte_eth_dev_is_keep_crc() checks next release, related code
commented to help the maintenance task.

And DEV_RX_OFFLOAD_CRC_STRIP has been added to virtual drivers since
they don't use CRC at all, when an application requires this offload
virtual PMDs should not return error.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2018-07-03 01:35:58 +02:00
..
af_packet ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
ark net/ark: add to meson build 2018-06-14 19:27:50 +02:00
avf net/avf: fix traffic blocked on reset 2018-05-17 19:06:29 +02:00
avp ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
axgbe ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
bnx2x net/bnx2x: add to meson build 2018-06-14 19:27:50 +02:00
bnxt ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
bonding net/bonding: support add/remove MAC addrs 2018-07-03 01:35:58 +02:00
cxgbe ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
dpaa ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
dpaa2 net/dpaa2: change VLAN strip value to offload flag 2018-05-14 22:32:23 +01:00
e1000 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
ena net/ena: fix SIGFPE with 0 Rx queue 2018-07-03 01:35:58 +02:00
enic net/enic: fix missing offload capabilities 2018-05-14 22:32:23 +01:00
failsafe net/failsafe: add to meson build 2018-06-14 19:27:50 +02:00
fm10k ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
i40e ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
ifc net/ifc: enable the host notifier support 2018-06-15 12:27:20 +02:00
ixgbe ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
kni ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
liquidio net/liquidio: add to meson build 2018-06-14 19:27:50 +02:00
mlx4 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
mlx5 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
mvpp2 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
nfp ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
null ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
octeontx ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
pcap ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
qede ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
ring ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
sfc ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
softnic ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
szedata2 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
tap net/tap: support TSO (TCP Segment Offload) 2018-07-03 01:35:58 +02:00
thunderx ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
vdev_netvsc net/vdev_netvsc: fix automatic probing 2018-05-23 00:35:01 +02:00
vhost ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
virtio ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
vmxnet3 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
Makefile net/ifc: make driver name consistent 2018-06-14 19:27:50 +02:00
meson.build net/vhost: add to meson build 2018-06-14 19:27:50 +02:00