> Subject: [EXTERNAL] Re: [PATCH v2 1/8] net/netvsc: secondary ignore
> promiscuous enable/disable
> 
> On Fri, 20 Feb 2026 18:45:20 -0800
> [email protected] wrote:
> 
> > diff --git a/drivers/net/netvsc/hn_ethdev.c
> > b/drivers/net/netvsc/hn_ethdev.c index 6584819f4f..5d7b410f1b 100644
> > --- a/drivers/net/netvsc/hn_ethdev.c
> > +++ b/drivers/net/netvsc/hn_ethdev.c
> > @@ -480,6 +480,9 @@ hn_dev_promiscuous_enable(struct rte_eth_dev *dev)
> > {
> >     struct hn_data *hv = dev->data->dev_private;
> >
> > +   if (rte_eal_process_type() != RTE_PROC_PRIMARY)
> > +           return 0;
> 
> You might want to return -ENOTSUP rather than silently allowing secondary to
> think it worked.

I'm dropping this patch from the series, as it is for another unrelated issue.

Reply via email to