numam-dpdk/drivers/net
John Daley 5776c30293 enic: fix error packets handling
If the packet_error bit in the completion descriptor is set, the
remainder of the descriptor and data are invalid. PKT_RX_MAC_ERR
was set in the mbuf->ol_flags if packet_error was set and used
later to indicate an error packet. But since PKT_RX_MAC_ERR is
defined as 0, mbuf flags and packet types and length were being
misinterpreted.

Make the function enic_cq_rx_to_pkt_err_flags() return true for error
packets and use the return value instead of mbuf->ol_flags to indicate
error packets. Also remove warning for error packets and rely on
rx_error stats.

Fixes: 947d860c82 ("enic: improve Rx performance")

Signed-off-by: John Daley <johndale@cisco.com>
2016-03-25 19:01:37 +01:00
..
af_packet af_packet: make the device detachable 2016-03-16 19:05:47 +01:00
bnx2x
bonding bonding: fix crash when no slave device 2016-03-16 19:05:47 +01:00
cxgbe ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
e1000 ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
ena ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
enic enic: fix error packets handling 2016-03-25 19:01:37 +01:00
fm10k ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
i40e i40evf: support reporting PF reset 2016-03-25 18:56:44 +01:00
ixgbe ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
mlx4 ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
mlx5 mlx5: add VLAN insertion offload 2016-03-25 18:56:44 +01:00
mpipe
nfp ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
null null: remove duplicate fields in internal struct 2016-03-16 19:05:47 +01:00
pcap pcap: reduce duplication 2016-03-16 19:05:47 +01:00
ring ring: free rings when detaching device 2016-03-16 19:05:47 +01:00
szedata2
vhost vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
virtio
vmxnet3 ethdev: query supported packet types 2016-03-25 18:56:43 +01:00
xenvirt
Makefile vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00