DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/1] net/enic: enic driver doesn't work with 2nd process
@ 2019-08-27  8:33 dirk
  2019-08-27  8:33 ` [dpdk-dev] [PATCH 1/1] " dirk
  0 siblings, 1 reply; 3+ messages in thread
From: dirk @ 2019-08-27  8:33 UTC (permalink / raw)
  To: dev

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(-)

-- 
2.15.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [dpdk-dev] [PATCH 0/1] net/enic: enic driver doesn't work with 2nd process
@ 2019-08-27  9:02 dirk
  0 siblings, 0 replies; 3+ messages in thread
From: dirk @ 2019-08-27  9:02 UTC (permalink / raw)
  To: dev

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(-)

-- 
2.15.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-27  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27  8:33 [dpdk-dev] [PATCH 0/1] net/enic: enic driver doesn't work with 2nd process dirk
2019-08-27  8:33 ` [dpdk-dev] [PATCH 1/1] " dirk
2019-08-27  9:02 [dpdk-dev] [PATCH 0/1] " dirk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).