Re: [RFC net-next v2 1/2] devlink: add whole device devlink instance

From
Jiri Pirko <jiri@resnulli.us>
Date
2025-02-26 14:48:40
Also in
intel-wired-lan, lkml
Reply to
Przemek Kitszel, 2025-02-25
Tue, Feb 25, 2025 at 04:40:49PM +0100, przemyslaw.kitszel@intel.com wrote:
On 2/25/25 15:35, Jiri Pirko wrote:
quoted
Tue, Feb 25, 2025 at 12:30:49PM +0100, przemyslaw.kitszel@intel.com wrote:
[...]
quoted
quoted
output, for all PFs and VFs on given device:

pci/0000:af:00:
  name rss size 8 unit entry size_min 0 size_max 24 size_gran 1
    resources:
      name lut_512 size 0 unit entry size_min 0 size_max 16 size_gran 1
      name lut_2048 size 8 unit entry size_min 0 size_max 8 size_gran 1

What is contributing to the hardness, this is not just one for all ice
PFs, but one per device, which we distinguish via pci BDF.
How?
code is in ice_adapter_index()
If you pass 2 pfs of the same device to a VM with random BDF, you get 2
ice_adapters, correct?

[...]
Thread (19 messages) 19 messages, 4 authors, last reply 2025-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help