[dpdk-dev] [PATCH 0/2] PCI cleanups

Stephen Hemminger stephen at networkplumber.org
Fri Apr 17 01:23:38 CEST 2015


More places where PCI code should be using const but wasn't

Stephen Hemminger (2):
  pci: make device_id tables const
  pci: allow const for rte_pci_addr

 app/test/virtual_pmd.c                  |  3 +--
 lib/librte_eal/common/eal_common_pci.c  |  4 ++--
 lib/librte_eal/common/include/rte_pci.h |  9 +++++----
 lib/librte_eal/linuxapp/eal/eal_pci.c   |  8 ++++----
 lib/librte_pmd_bond/rte_eth_bond_api.c  | 12 +++++-------
 lib/librte_pmd_e1000/em_ethdev.c        |  2 +-
 lib/librte_pmd_e1000/igb_ethdev.c       |  4 ++--
 lib/librte_pmd_enic/enic_ethdev.c       |  2 +-
 lib/librte_pmd_fm10k/fm10k_ethdev.c     |  2 +-
 lib/librte_pmd_i40e/i40e_ethdev.c       |  2 +-
 lib/librte_pmd_i40e/i40e_ethdev_vf.c    |  2 +-
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c     |  4 ++--
 lib/librte_pmd_mlx4/mlx4.c              |  2 +-
 lib/librte_pmd_virtio/virtio_ethdev.c   |  2 +-
 lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c |  2 +-
 15 files changed, 29 insertions(+), 31 deletions(-)

-- 
2.1.4



More information about the dev mailing list