numam-dpdk/drivers/net
Pavan Nikhilesh 7557f2fbde net/octeontx2: fix packet type get overflow
The function `rte_eth_dev_get_supported_ptypes` expects the underlying
ethernet device to return array of supported ptypes. The ethernet device
needs to set `RTE_PTYPE_UNKNOWN` as the last element which signifies
thats its the end of the ptype array.
Else the function `rte_eth_dev_get_supported_ptypes` might overflow.

Fixes: 6e892eabce ("net/octeontx2: support packet type")
Cc: stable@dpdk.org

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2019-10-07 15:00:53 +02:00
..
af_packet ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
af_xdp ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
ark ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
atlantic ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
avp ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
axgbe ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
bnx2x ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
bnxt ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
bonding ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
cxgbe ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
dpaa ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
dpaa2 ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
e1000 ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
ena net/ena: use dynamic log type for debug logging 2019-10-07 15:00:52 +02:00
enetc ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
enic ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
failsafe ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
fm10k ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
hinic ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
i40e ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
iavf ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
ice net/ice: support device-specific DDP package loading 2019-10-07 15:00:53 +02:00
ifc net/ifc: add devargs pointer check 2019-07-23 14:31:35 +02:00
ipn3ke ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
ixgbe ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
kni net/kni: remove resources when port is closed 2019-10-07 15:00:52 +02:00
liquidio ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
memif net/memif: allow for full key size in socket name 2019-10-07 15:00:52 +02:00
mlx4 ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
mlx5 ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
mvneta ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
mvpp2 ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
netvsc ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
nfb ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
nfp ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
null ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
octeontx ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
octeontx2 net/octeontx2: fix packet type get overflow 2019-10-07 15:00:53 +02:00
pcap ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
qede ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
ring ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
sfc net/sfc: fix missing notification on link status change 2019-10-07 15:00:52 +02:00
softnic ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
szedata2 ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
tap ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
thunderx ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
vdev_netvsc net/vdev_netvsc: use new ethernet address parser 2019-07-08 21:26:52 +02:00
vhost ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
virtio net/virtio: add Altivec Rx 2019-10-07 15:00:53 +02:00
vmxnet3 net/vmxnet3: remove unused variable attribute 2019-10-07 15:00:52 +02:00
Makefile net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00
meson.build net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00