pci: make device id tables const
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 16 Apr 2015 23:23:39 +0000 (16:23 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Apr 2015 17:58:54 +0000 (19:58 +0200)
commit6065355a03fc743234d4c11fc8e17093bf072617
treed101280111a195f35182fe16fc33cd630242ac34
parentbe85defeeebf95a4c4e16bfde9aa6c9694bab66f
pci: make device id tables const

The PCI device id table is immutable and should be made const
in all drivers. The pseudo drivers can initialize their local
copy as necessary.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
14 files changed:
app/test/virtual_pmd.c
lib/librte_eal/common/include/rte_pci.h
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_pmd_bond/rte_eth_bond_api.c
lib/librte_pmd_e1000/em_ethdev.c
lib/librte_pmd_e1000/igb_ethdev.c
lib/librte_pmd_enic/enic_ethdev.c
lib/librte_pmd_fm10k/fm10k_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev_vf.c
lib/librte_pmd_ixgbe/ixgbe_ethdev.c
lib/librte_pmd_mlx4/mlx4.c
lib/librte_pmd_virtio/virtio_ethdev.c
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c