Re: [PATCH v2 1/2] net/iavf: remove auto reconfig devarg

Bruce Richardson <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
On Wed, Aug 05, 2026 at 12:57:34PM +0000, Ciara Loftus wrote:
> The `auto_reconfig` devarg controlled whether the promiscuous and
> all-multicast states were restored after a VF reset. Remove it and always
> restore those states after a reset, for two reasons.
> 
> First, a VF almost always wants those states restored after a reset. For
> the rare cases where a different post-reset state is wanted, a post-reset
> callback can be registered and used to adjust the state once the
> reset completes.
> 
> Second, the devarg was inconsistent: it only affected promiscuous and
> all-multicast, while MAC addresses, the multicast address list, VLAN
> configuration and RSS were restored regardless of its value. The "reconfig"
> name was also ambiguous, potentially suggesting it governed all settings
> when it did not.
> 
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.