[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31477321-c064-4f3d-b4c9-e858d98d5694@intel.com>
Date: Wed, 26 Feb 2025 16:06:19 +0100
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: Jiri Pirko <jiri@...nulli.us>
CC: <intel-wired-lan@...ts.osuosl.org>, Tony Nguyen
<anthony.l.nguyen@...el.com>, Jakub Kicinski <kuba@...nel.org>, Cosmin Ratiu
<cratiu@...dia.com>, Tariq Toukan <tariqt@...dia.com>,
<netdev@...r.kernel.org>, Konrad Knitter <konrad.knitter@...el.com>, "Jacob
Keller" <jacob.e.keller@...el.com>, <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Andrew Lunn
<andrew@...n.ch>, <linux-kernel@...r.kernel.org>, ITP Upstream
<nxne.cnse.osdt.itp.upstreaming@...el.com>, Carolina Jubran
<cjubran@...dia.com>
Subject: Re: [RFC net-next v2 1/2] devlink: add whole device devlink instance
On 2/26/25 15:48, Jiri Pirko wrote:
> Tue, Feb 25, 2025 at 04:40:49PM +0100, przemyslaw.kitszel@...el.com wrote:
>> On 2/25/25 15:35, Jiri Pirko wrote:
>>> Tue, Feb 25, 2025 at 12:30:49PM +0100, przemyslaw.kitszel@...el.com wrote:
>
> [...]
>
>>>> 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?
Right now, yes
>
> [...]
What I want is to keep two ice_adapters for two actual devices (SDNs)
Powered by blists - more mailing lists