numam-dpdk/drivers/net/bnxt
Jeff Guo 45f4dd1adc drivers/net: fix device configuration
dev_flags is wrongly overwritten with RTE_ETH_DEV_DETACHABLE value
in drivers after rte_eth_copy_pci_info().

Previous values of the dev_flags set in rte_eth_copy_pci_info(),
like RTE_ETH_DEV_INTR_LSC, are get lost. That will fail the device
configuration.

Fix by preventing dev_flags overwritten.

Fixes: 22dda618c0 ("pci: separate detaching ethernet ports from PCI devices")

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Signed-off-by: Jeff Guo <jia.guo@intel.com>
2017-02-10 12:25:49 +01:00
..
bnxt_cpr.c net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
bnxt_cpr.h net/bnxt: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
bnxt_ethdev.c drivers/net: fix device configuration 2017-02-10 12:25:49 +01:00
bnxt_filter.c net/bnxt: support hotplug 2016-09-30 12:27:18 +02:00
bnxt_filter.h net/bnxt: add L2 filter alloc/init/free 2016-06-20 17:21:51 +02:00
bnxt_hwrm.c net/bnxt: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
bnxt_hwrm.h net/bnxt: support NIC Partitioning 2016-09-30 12:27:18 +02:00
bnxt_irq.c net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
bnxt_irq.h net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
bnxt_ring.c net/bnxt: localize mapping of ethdev to PCI device 2016-12-24 18:54:49 +01:00
bnxt_ring.h net/bnxt: allocate rings and groups 2016-06-20 17:21:52 +02:00
bnxt_rxq.c net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_rxq.h net/bnxt: add Rx queue create/destroy 2016-06-20 17:21:51 +02:00
bnxt_rxr.c net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_rxr.h net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_stats.c net/bnxt: refactor for 1.5.1 HWRM API 2016-09-30 12:27:18 +02:00
bnxt_stats.h net/bnxt: add statistics 2016-06-20 17:21:51 +02:00
bnxt_txq.c net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_txq.h net/bnxt: add Tx queue create/destroy 2016-06-20 17:21:51 +02:00
bnxt_txr.c log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
bnxt_txr.h net/bnxt: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
bnxt_vnic.c net/bnxt: fix data type for vnic attributes entry size 2016-11-07 19:36:17 +01:00
bnxt_vnic.h net/bnxt: add VNIC functions and structs 2016-06-20 17:21:51 +02:00
bnxt.h net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
hsi_struct_def_dpdk.h net/bnxt: update struct definitions for 1.5.1 HWRM API 2016-09-30 12:27:18 +02:00
Makefile net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
rte_pmd_bnxt_version.map net/bnxt: add driver for Broadcom NetXtreme-C devices 2016-06-20 17:21:51 +02:00