[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6033dd40-8adc-48f4-9acb-be50d992add7@intel.com>
Date: Wed, 3 Sep 2025 13:11:52 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: <mheib@...hat.com>, <intel-wired-lan@...ts.osuosl.org>
CC: <przemyslawx.patynowski@...el.com>, <jiri@...nulli.us>,
<netdev@...r.kernel.org>, <horms@...nel.org>,
<aleksandr.loktionov@...el.com>, <anthony.l.nguyen@...el.com>,
<przemyslaw.kitszel@...el.com>
Subject: Re: [PATCH net-next,v2,1/2] devlink: Add new "max_mac_per_vf" generic
device param
On 9/3/2025 12:02 PM, mheib@...hat.com wrote:
> From: Mohammad Heib <mheib@...hat.com>
>
> Add a new device generic parameter to controls the maximum
> number of MAC filters allowed per VF.
>
> While this parameter is named `max_mac_per_vf`, the exact enforcement
> policy may vary between drivers. For example, i40e applies this limit
> only to trusted VFs, whereas other drivers may choose to apply it
> uniformly across all VFs. The goal is to provide a consistent devlink
> interface, while allowing flexibility for driver-specific behavior.
>
Would it make more sense to apply the limit to all VFs if set, and apply
the default variable behavior for when its unset? This would avoid the
need to have this much flexibility and latitude for each driver.
It seems like that wouldn't be too difficult.
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (237 bytes)
Powered by blists - more mailing lists