Skip to content

RFC remove pci driver from vdevs

Bernard Iremonger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6librte_ether: add fields from rte_pci_driver to rte_eth_dev and rte_eth_dev_data.lib/librte_ether/rte_ethdev.c lib/librte_ether/rte_ethdev.h+22 -55 replies
2/6librte_ether: handle RTE_ETH_DEV_INTR_LSC for vdevslib/librte_ether/rte_ethdev.c+11 -50 replies
3/6null: remove pci device driverdrivers/net/null/rte_eth_null.c+7 -212 replies
4/6ring: remove pci device driverdrivers/net/ring/rte_eth_ring.c+6 -290 replies
5/6bonding: remove pci device driverdrivers/net/bonding/rte_eth_bond_alb.c drivers/net/bonding/rte_eth_bond_api.c drivers/net/bonding/rte_eth_bond_pmd.c +1 more+30 -473 replies
6/6pcap: remove pci device driverdrivers/net/pcap/rte_eth_pcap.c+9 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/6] remove pci driver from vdevs

There is a dummy pci driver in the vdev PMD's at present.
This RFC proposes to remove the pci driver from the vdev PMD's.
Changes have been made to librte_ether to handle vdevs which do not have a pci driver.

The pdev PMD's should work as before with the changes to librte_ether
The vdev PMD's which still have a pci driver should work as before with the librte_ether changes.

The following vdev PMD's have had the pci driver removed

bonding PMD
null PMD
pcap PMD
ring PMD

Bernard Iremonger (6):
librte_ether: add fields from rte_pci_driver to rte_eth_dev and
rte_eth_dev_data.
librte_ether: handle RTE_ETH_DEV_INTR_LSC for vdevs
null: remove pci device driver
ring: remove pci device driver
bonding: remove pci device driver
pcap: remove pci device driver

 drivers/net/bonding/rte_eth_bond_alb.c |  2 +-
 drivers/net/bonding/rte_eth_bond_api.c | 49 ++++++++--------------------------
 drivers/net/bonding/rte_eth_bond_pmd.c | 22 ++++++++++-----
 drivers/net/null/rte_eth_null.c        | 28 +++++--------------
 drivers/net/pcap/rte_eth_pcap.c        | 31 +++++++--------------
 drivers/net/ring/rte_eth_ring.c        | 35 +++++-------------------
 lib/librte_ether/rte_ethdev.c          | 34 ++++++++++++++++-------
 lib/librte_ether/rte_ethdev.h          | 10 ++++++-
 8 files changed, 83 insertions(+), 128 deletions(-)
Signature · 1 line
1.9.1