mbox

[0/1] net/enic: enic driver doesn't work with 2nd process

Message ID 20190827090248.6185-1-dirk.lenz@ng4t.com (mailing list archive)
Headers

Message

dirk Aug. 27, 2019, 9:02 a.m. UTC
  dirk (1):
  net/enic: enic driver doesn't work with 2nd process. the problem is that the
  private data structure enic uses pointers to rte_eth_dev and rte_pci_device
  which are overwritten when a 2nd process starts using this device.
  given patch removes these two pointers from the private data and uses the
  correct pointers. For us the given patch works fine on a cisco rack.
  (we used three processes working concurrently)

 drivers/net/enic/enic.h               |  36 ++++---
 drivers/net/enic/enic_clsf.c          |   5 +-
 drivers/net/enic/enic_ethdev.c        |  79 ++++++---------
 drivers/net/enic/enic_main.c          | 177 +++++++++++++++++++---------------
 drivers/net/enic/enic_res.c           |   7 +-
 drivers/net/enic/enic_res.h           |   6 +-
 drivers/net/enic/enic_rxtx_vec_avx2.c |   5 +-
 7 files changed, 156 insertions(+), 159 deletions(-)