drivers: advertise kmod dependencies in pmdinfo
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 15 Dec 2016 13:46:39 +0000 (14:46 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 Dec 2016 17:26:00 +0000 (18:26 +0100)
commit0880c40113ef2d69b6433d7dfa0b4032cc378b0d
tree3a0ebae1f266890558d5522d06884bee8cc7bbed
parentbcb5b1af485bc2c3c327a5550cb3ca0f3d5c768b
drivers: advertise kmod dependencies in pmdinfo

Add a new macro RTE_PMD_REGISTER_KMOD_DEP() that allows a driver to
declare the list of kernel modules required to run properly.

Today, most PCI drivers require uio/vfio.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
23 files changed:
buildtools/pmdinfogen/pmdinfogen.c
buildtools/pmdinfogen/pmdinfogen.h
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.c
drivers/net/ena/ena_ethdev.c
drivers/net/enic/enic_ethdev.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/mlx4/mlx4.c
drivers/net/mlx5/mlx5.c
drivers/net/nfp/nfp_net.c
drivers/net/qede/qede_ethdev.c
drivers/net/szedata2/rte_eth_szedata2.c
drivers/net/thunderx/nicvf_ethdev.c
drivers/net/virtio/virtio_ethdev.c
drivers/net/vmxnet3/vmxnet3_ethdev.c
lib/librte_eal/common/include/rte_dev.h
tools/dpdk-pmdinfo.py