[dpdk-dev] [PATCH v4 00/10] Rework vdev probing to use rte_bus infrastructure

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 13 18:55:02 CET 2017


2017-03-06 11:56, Jan Blunck:
> Jan Blunck (10):
>   eal: probe legacy PCI devices before other bus devices
>   eal: probe new virtual bus after other bus devices
>   eal: move virtual device probing into a bus
>   eal: remove unused rte_eal_dev_init()
>   eal: Refactor vdev driver probe/remove
>   eal: add struct rte_vdev_device
>   eal: add virtual device name helper function
>   eal: add virtual device arguments helper function
>   eal: make virtual bus use rte_vdev_device
>   eal: make virtual driver probe and remove take rte_vdev_device
> 
>  drivers/crypto/null/null_crypto_pmd.c           |  18 +-
>  drivers/net/af_packet/rte_eth_af_packet.c       |  11 +-
>  drivers/net/bonding/rte_eth_bond_pmd.c          |  13 +-
>  drivers/net/mpipe/mpipe_tilegx.c                |  10 +-
>  drivers/net/null/rte_eth_null.c                 |  13 +-
>  drivers/net/pcap/rte_eth_pcap.c                 |  12 +-
>  drivers/net/ring/rte_eth_ring.c                 |   9 +-
>  drivers/net/tap/rte_eth_tap.c                   |  10 +-
>  drivers/net/vhost/rte_eth_vhost.c               |  10 +-
>  drivers/net/virtio/virtio_user_ethdev.c         |  18 +-
>  drivers/net/xenvirt/rte_eth_xenvirt.c           |   9 +-
>  lib/librte_eal/bsdapp/eal/eal.c                 |   9 +-
>  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_dev.c          |  28 ---
>  lib/librte_eal/common/eal_common_vdev.c         | 245 +++++++++++++++++++++---
>  lib/librte_eal/common/include/rte_dev.h         |   5 -
>  lib/librte_eal/common/include/rte_vdev.h        |  26 ++-
>  lib/librte_eal/linuxapp/eal/eal.c               |   9 +-
>  lib/librte_eal/linuxapp/eal/rte_eal_version.map |   1 -
>  20 files changed, 341 insertions(+), 132 deletions(-)

When it will be merged, it would be nice to move the vdev bus files
to drivers/bus/vdev/.


More information about the dev mailing list