[dpdk-stable] [PATCH 18.02 0/4] ethdev: fix iterator and probing notification

Thomas Monjalon thomas at monjalon.net
Sun May 20 13:00:02 CEST 2018


These are the remaining patches from the series
  "ethdev: fix race conditions in iterator and notifications"
which were not yet backported in 18.02.

Please move the commit "net/failsafe: fix sub-device ownership race",
which was already backported in 18.02 branch,
on top of these patches, as there is a dependency on notification fix.
Thanks


Matan Azrad (1):
  ethdev: allow ownership operations on unused port

Thomas Monjalon (3):
  ethdev: add probing finish function
  ethdev: fix port visibility before initialization
  ethdev: fix port probing notification

 drivers/net/af_packet/rte_eth_af_packet.c |  1 +
 drivers/net/ark/ark_ethdev.c              |  2 ++
 drivers/net/bonding/rte_eth_bond_pmd.c    |  1 +
 drivers/net/cxgbe/cxgbe_ethdev.c          |  1 +
 drivers/net/cxgbe/cxgbe_main.c            |  5 +++
 drivers/net/dpaa/dpaa_ethdev.c            |  5 ++-
 drivers/net/dpaa2/dpaa2_ethdev.c          |  4 ++-
 drivers/net/failsafe/failsafe.c           |  1 +
 drivers/net/kni/rte_eth_kni.c             |  1 +
 drivers/net/mlx4/mlx4.c                   |  1 +
 drivers/net/mlx5/mlx5.c                   |  2 ++
 drivers/net/mrvl/mrvl_ethdev.c            |  1 +
 drivers/net/nfp/nfp_net.c                 |  2 ++
 drivers/net/null/rte_eth_null.c           |  1 +
 drivers/net/octeontx/octeontx_ethdev.c    |  2 ++
 drivers/net/pcap/rte_eth_pcap.c           |  1 +
 drivers/net/ring/rte_eth_ring.c           |  1 +
 drivers/net/softnic/rte_eth_softnic.c     |  2 ++
 drivers/net/tap/rte_eth_tap.c             |  1 +
 drivers/net/vhost/rte_eth_vhost.c         |  1 +
 drivers/net/virtio/virtio_user_ethdev.c   |  3 ++
 lib/librte_ether/rte_ethdev.c             | 57 ++++++++++++++++++++-----------
 lib/librte_ether/rte_ethdev_driver.h      | 14 ++++++++
 lib/librte_ether/rte_ethdev_pci.h         |  2 ++
 lib/librte_ether/rte_ethdev_version.map   |  1 +
 test/test/virtual_pmd.c                   |  2 ++
 26 files changed, 94 insertions(+), 21 deletions(-)

-- 
2.16.2



More information about the stable mailing list