DPDK patches and discussions
 help / color / mirror / Atom feed
From: Slava Ovsiienko <viacheslavo@nvidia.com>
To: "Minggang(Gavin) Li" <gavinl@nvidia.com>,
	Matan Azrad <matan@nvidia.com>,  Ori Kam <orika@nvidia.com>,
	"NBU-Contact-Thomas Monjalon (EXTERNAL)" <thomas@monjalon.net>,
	Dariusz Sosnowski <dsosnowski@nvidia.com>,
	Bing Zhao <bingz@nvidia.com>, Suanming Mou <suanmingm@nvidia.com>,
	"NBU-Contact-N?lio Laranjeiro (EXTERNAL)"
	<nelio.laranjeiro@6wind.com>, Yongseok Koh <yskoh@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	Raslan Darawsheh <rasland@nvidia.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH] net/mlx5: align PF and VF/SF MAC addresses handling
Date: Mon, 19 May 2025 11:20:49 +0000	[thread overview]
Message-ID: <MN6PR12MB85671F07DB6848CF4AF2ED59DF9CA@MN6PR12MB8567.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20250516071032.4357-1-gavinl@nvidia.com>

> -----Original Message-----
> From: Minggang(Gavin) Li <gavinl@nvidia.com>
> Sent: Friday, May 16, 2025 10:11 AM
> To: Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Ori Kam <orika@nvidia.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <thomas@monjalon.net>; Dariusz Sosnowski
> <dsosnowski@nvidia.com>; Bing Zhao <bingz@nvidia.com>; Suanming Mou
> <suanmingm@nvidia.com>; NBU-Contact-N?lio Laranjeiro (EXTERNAL)
> <nelio.laranjeiro@6wind.com>; Yongseok Koh <yskoh@mellanox.com>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>;
> stable@dpdk.org
> Subject: [PATCH] net/mlx5: align PF and VF/SF MAC addresses handling
> 
> In the mlx5_dev_spawn function, the Virtual Function (VF) synchronizes
> MAC addresses from the kernel using netlink. It queries the netdev-
> configured MACs and populates the list in the PMD device data, including
> multicast MAC addresses. These addresses are later used for control flow
> creation, allowing traffic for the listed MACs to be received. However, the
> Physical Function (PF) does not synchronize with the kernel and thus does
> not add any multicast MAC address rules when enabling traffic. This
> discrepancy causes the IFF_ALLMULTI ioctl code to malfunction, as it fails to
> disable all multicast traffic, leaving the VF still able to see it.
> 
> To align PF and VF behavior, only unicast MAC address flows should be
> added.
> 
> Fixes: 272733b5ebfd ("net/mlx5: use flow to enable unicast traffic")
> Cc: stable@dpdk.org
> Signed-off-by: Gavin Li <gavinl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>


      reply	other threads:[~2025-05-19 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-16  7:10 Gavin Li
2025-05-19 11:20 ` Slava Ovsiienko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN6PR12MB85671F07DB6848CF4AF2ED59DF9CA@MN6PR12MB8567.namprd12.prod.outlook.com \
    --to=viacheslavo@nvidia.com \
    --cc=bingz@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=dsosnowski@nvidia.com \
    --cc=gavinl@nvidia.com \
    --cc=matan@nvidia.com \
    --cc=nelio.laranjeiro@6wind.com \
    --cc=orika@nvidia.com \
    --cc=rasland@nvidia.com \
    --cc=stable@dpdk.org \
    --cc=suanmingm@nvidia.com \
    --cc=thomas@monjalon.net \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).