patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [dpdk-dev] [PATCH v2 1/2] net/nfp: improve PF probing logic
       [not found] <20210609140814.76977-1-heinrich.kuhn@netronome.com>
@ 2021-07-01 14:33 ` Andrew Rybchenko
  0 siblings, 0 replies; only message in thread
From: Andrew Rybchenko @ 2021-07-01 14:33 UTC (permalink / raw)
  To: Heinrich Kuhn, dev; +Cc: Simon Horman, dpdk stable

On 6/9/21 5:08 PM, Heinrich Kuhn wrote:
> When using rte_eth_dev_pci_generic_probe() during probing a
> rte_eth_dev will be created with the name field corresponding to the PCI
> address of the device. NFP4000/6000 devices only have a single PF (but
> potentially multiple physical ports). This means that in a simple two
> port example the rte_eth_devices[] array will be populated with two
> devices: 0000:02:00.0 and 0000:02:00.0_port1. This is inconsistent and
> not ideal. It will also cause issues when a secondary process tries to
> attach to these ports.
> 
> This patch removes the use of rte_eth_dev_pci_generic_probe() and
> allocates eth_dev's for each physical port during PF initialization,
> giving them more consistent names.
> 
> Fixes: 5e15e799d697 ("net/nfp: create separate entity for PF device")
> 
> Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
> Signed-off-by: Simon Horman <simon.horman@corigine.com>

Cc: stable@dpdk.org

Applied, thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-01 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210609140814.76977-1-heinrich.kuhn@netronome.com>
2021-07-01 14:33 ` [dpdk-stable] [dpdk-dev] [PATCH v2 1/2] net/nfp: improve PF probing logic Andrew Rybchenko

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