[dpdk-dev] [PATCH 00/13] devargs fixes

Jan Blunck jblunck at infradead.org
Wed Jul 12 01:24:59 CEST 2017


The changes to enum rte_devtype that got merged into 17.08-rc1 are breaking
API without prior notice. This series is reworking the rte_devargs changes
in a way hopefully compliant to the new failover PMD and still keeping API
compatible with earlier releases.

Jan Blunck (13):
  Revert "devargs: make device types generic"
  devargs: fix unittest
  devargs: deprecate enum rte_devtype based functions
  pci: use scan_mode configuration
  bus: add configuration interface for buses
  devargs: use bus configuration interface to set scanning mode
  devargs: add busname string field
  devargs: use busname
  devargs: parse "bus=" argument
  pci: use busname
  vdev: use busname
  devargs: remove type field
  devargs: remove bus field

 doc/guides/rel_notes/deprecation.rst            |   7 +
 drivers/net/virtio/virtio_pci.c                 |   3 +-
 lib/librte_eal/bsdapp/eal/rte_eal_version.map   |   1 +
 lib/librte_eal/common/eal_common_bus.c          |  16 ++
 lib/librte_eal/common/eal_common_devargs.c      | 248 ++++++++++++++++--------
 lib/librte_eal/common/eal_common_options.c      |   6 +-
 lib/librte_eal/common/eal_common_pci.c          |  15 +-
 lib/librte_eal/common/eal_common_vdev.c         |   3 +-
 lib/librte_eal/common/include/rte_bus.h         |   9 +
 lib/librte_eal/common/include/rte_devargs.h     |  22 ++-
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |   1 +
 test/test/test_devargs.c                        |  47 +++--
 12 files changed, 253 insertions(+), 125 deletions(-)

-- 
2.13.2



More information about the dev mailing list