Skip to content

Remove RTE_ETH_DEV_DETACHABLE

Gaetan Rivet dpdk-dev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 11 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

+ Split ether patch:
First remove the use of the flag, then remove the flag

+ Restore RTE_ETH_DEV_BONDED_SLAVE check, previously hastily removed along the DETACHABLE one.

+ Added release note, removed deprecation notice

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ethdev: do not rely on detachable flag in detachlib/librte_ether/rte_ethdev.c+9 -170 replies
2/6ethdev: remove detachable device flagdrivers/net/af_packet/rte_eth_af_packet.c drivers/net/ark/ark_ethdev.c drivers/net/avp/avp_ethdev.c +24 more+19 -380 replies
3/6pci: propagate PMD removal error value for unpluglib/librte_eal/common/eal_common_pci.c+10 -40 replies
4/6doc: follow detachable flag disappearancedoc/guides/prog_guide/port_hotplug_framework.rst+2 -61 reply
5/6doc: update detachable flag deprecation noticedoc/guides/rel_notes/deprecation.rst+0 -81 reply
6/6doc: note ether API change for detachable flagdoc/guides/rel_notes/release_17_11.rst+6 -02 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew RybchenkoThomas MonjalonJohn McNamara
SeriesA-b
1/6
2/6A-b
3/6
4/6A-b
5/6A-b
6/6A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] Remove RTE_ETH_DEV_DETACHABLE

This flag was deprecated in the previous release, and this is its removal.

We are going from an explicit support of device detach, to an implicit one, with specific checks in place for PMDs not supporting the feature.

Attempting to Cc all relevant maintainers:

Cc Ajit Khaparde <[email protected]>
Cc Alejandro Lucero <[email protected]>
Cc Beilei Xing <[email protected]>
Cc Bruce Richardson <[email protected]>
Cc Cristian Dumitrescu <[email protected]>
Cc Declan Doherty <[email protected]>
Cc Ferruh Yigit <[email protected]>
Cc Jing Chen <[email protected]>
Cc John Miller <[email protected]>
Cc John W. Linville <[email protected]>
Cc Konstantin Ananyev <[email protected]>
Cc Matt Peters <[email protected]>
Cc Nelio Laranjeiro <[email protected]>
Cc Pascal Mazon <[email protected]>
Cc Shrikrishna Khare <[email protected]>
Cc Srisivasubramanian Srinivasan <[email protected]>
Cc Tetsuya Mukawa <[email protected]>
Cc Wenzhuo Lu <[email protected]>
Cc Yongseok Koh <[email protected]>

Sorry for any undue ML traffic going your way if you are not interested in this series.

I'd like to highlight Alejandro Lucero for the NFP PMD, as the patch is somewhat more involved for this PMD and I don't have the hardware available to validate the change.

v2:

+ Split ether patch:
First remove the use of the flag, then remove the flag

+ Restore RTE_ETH_DEV_BONDED_SLAVE check, previously hastily removed along the DETACHABLE one.

+ Added release note, removed deprecation notice

Gaetan Rivet (6):
ethdev: do not rely on detachable flag in detach
ethdev: remove detachable device flag
pci: propagate PMD removal error value for unplug
doc: follow detachable flag disappearance
doc: update detachable flag deprecation notice
doc: note ether API change for detachable flag

 doc/guides/prog_guide/port_hotplug_framework.rst |  8 ++------
 doc/guides/rel_notes/deprecation.rst             |  8 --------
 doc/guides/rel_notes/release_17_11.rst           |  6 ++++++
 drivers/net/af_packet/rte_eth_af_packet.c        |  1 -
 drivers/net/ark/ark_ethdev.c                     |  1 -
 drivers/net/avp/avp_ethdev.c                     |  2 --
 drivers/net/bnxt/bnxt_ethdev.c                   |  1 -
 drivers/net/bonding/rte_eth_bond_pmd.c           |  3 +--
 drivers/net/e1000/em_ethdev.c                    |  1 -
 drivers/net/e1000/igb_ethdev.c                   |  2 --
 drivers/net/fm10k/fm10k_ethdev.c                 |  1 -
 drivers/net/i40e/i40e_ethdev.c                   |  1 -
 drivers/net/i40e/i40e_ethdev_vf.c                |  1 -
 drivers/net/ixgbe/ixgbe_ethdev.c                 |  2 --
 drivers/net/kni/rte_eth_kni.c                    |  2 --
 drivers/net/liquidio/lio_ethdev.c                |  1 -
 drivers/net/mlx4/mlx4.c                          |  1 -
 drivers/net/mlx5/mlx5.c                          |  1 -
 drivers/net/nfp/nfp_net.c                        | 19 ++++++++++++++---
 drivers/net/null/rte_eth_null.c                  |  2 --
 drivers/net/pcap/rte_eth_pcap.c                  |  1 -
 drivers/net/ring/rte_eth_ring.c                  |  1 -
 drivers/net/sfc/sfc_ethdev.c                     |  2 --
 drivers/net/softnic/rte_eth_softnic.c            |  1 -
 drivers/net/tap/rte_eth_tap.c                    |  2 +-
 drivers/net/vhost/rte_eth_vhost.c                |  3 +--
 drivers/net/virtio/virtio_ethdev.c               |  1 -
 drivers/net/virtio/virtio_user_ethdev.c          |  1 -
 drivers/net/vmxnet3/vmxnet3_ethdev.c             |  1 -
 lib/librte_eal/common/eal_common_pci.c           | 14 +++++++++----
 lib/librte_ether/rte_ethdev.c                    | 26 ++++++++----------------
 lib/librte_ether/rte_ethdev.h                    |  2 --
 32 files changed, 46 insertions(+), 73 deletions(-)
Signature · 1 line
2.1.4