numam-dpdk/drivers/net
Ilya Maximets 3eb50f0c79 net/virtio: fix read barriers on packed Tx cleanup
Read barrier must be implied between reading descriptor flags
and descriptor id. Otherwise, in case of reordering, we could
read wrong descriptor id.

For the reference, similar barrier for split rings is the read
barrier between VIRTQUEUE_NUSED (reading the used->idx) and
the call to the virtio_xmit_cleanup().

Additionally removed double update of 'used_idx'. It's enough
to set it in the end of the loop.

Fixes: 892dc798fa ("net/virtio: implement Tx path for packed queues")
Cc: stable@dpdk.org

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-02-08 19:27:07 +01:00
..
af_packet net/af_packet: fix setting MTU decrements sockaddr twice 2018-12-21 16:22:41 +01:00
ark ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
atlantic drivers/net: fix several Tx prepare functions 2018-12-13 17:53:50 +00:00
avf net/avf/base: fix comment referencing internal data 2018-12-21 16:22:41 +01:00
avp fix indentation in symbol maps 2018-11-26 20:16:46 +01:00
axgbe fix indentation in symbol maps 2018-11-26 20:16:46 +01:00
bnx2x net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnxt net/bnxt: fix uninitialized variable access 2018-11-05 18:54:48 +01:00
bonding net/bonding: fix values of descriptor limits 2019-02-07 14:33:10 +01:00
cxgbe net/cxgbe: implement reset hit counters for offloaded flows 2018-12-21 16:22:41 +01:00
dpaa net/dpaa: update RSS offload types 2019-01-14 17:44:29 +01:00
dpaa2 net/dpaa2: change reference to private device 2019-01-14 17:44:29 +01:00
e1000 drivers/net: fix several Tx prepare functions 2018-12-13 17:53:50 +00:00
ena net/ena: fix errno to positive value 2019-01-27 23:38:37 +01:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: remove redundant log level check 2019-01-14 17:44:30 +01:00
failsafe net/failsafe: add default Tx mbuf fast free capability 2018-12-21 16:22:41 +01:00
fm10k net/fm10k: fix internal switch initial status 2019-01-14 17:44:29 +01:00
i40e net/i40e: fix statistics 2019-01-24 18:18:10 +01:00
ice net/ice: fix link speed 2019-01-24 10:08:31 +01:00
ifc net/ifc: support SW assisted VDPA live migration 2018-12-21 16:22:40 +01:00
ixgbe net/ixgbe: fix over using multicast table for VF 2019-01-14 17:44:29 +01:00
kni ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
liquidio ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx4 net/mlx4: fix creation of flow rule w/o ETH spec 2019-01-24 10:08:31 +01:00
mlx5 net/mlx5: fix build for armv8 2019-01-30 11:08:35 +01:00
mvneta ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mvpp2 net/mvpp2: fix possible uninitialized variable access 2018-11-16 11:13:51 +01:00
netvsc net/netvsc: fix probe when VF not found 2018-12-21 16:22:40 +01:00
nfp net/nfp: add CPP bridge as service 2019-01-14 22:57:33 +01:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx net/octeontx: fix failures when available ports > queues 2018-11-16 12:03:54 +01:00
pcap net/pcap: fix memory leak 2019-02-07 13:28:53 +01:00
qede net/qede: remove prefetch in Tx path 2019-01-19 00:37:45 +01:00
ring ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
sfc net/sfc/base: share macro to increment per-event type stats 2019-02-08 11:35:41 +01:00
softnic net/softnic: use separate session mempools 2019-01-10 16:57:22 +01:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap net/tap: do not print pointer in info message 2019-01-14 17:44:29 +01:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc net/vdev_netvsc: get rid of unnecessary debug log message 2018-12-13 16:31:06 +00:00
vhost net/vhost: fix double free of MAC address 2018-12-21 16:22:41 +01:00
virtio net/virtio: fix read barriers on packed Tx cleanup 2019-02-08 19:27:07 +01:00
vmxnet3 drivers/net: fix several Tx prepare functions 2018-12-13 17:53:50 +00:00
Makefile net/ice: support device initialization 2018-12-21 16:22:41 +01:00
meson.build net/ice: support device initialization 2018-12-21 16:22:41 +01:00