Re: [net-next PatchV2 1/4] Octeontx2-af: Add programmed macaddr to RVU pfvf

From: Simon Horman
Date: Sun Jul 20 2025 - 14:10:46 EST


On Sun, Jul 20, 2025 at 10:06:35PM +0530, Hariprasad Kelam wrote:
> Octeontx2/CN10k MAC block supports DMAC filters. DMAC filters
> can be installed on the interface through ethtool.
>
> When a user installs a DMAC filter, the interface's MAC address
> is implicitly added to the filter list. To ensure consistency,
> this MAC address must be kept in sync with the pfvf->mac_addr field,
> which is used to install MAC-based NPC rules.
>
> This patch updates the pfvf->mac_addr field with the programmed MAC
> address and also enables VF interfaces to install DMAC filters.
>
> Signed-off-by: Hariprasad Kelam <hkelam@xxxxxxxxxxx>
> ---
> v2 * Use ether_addr_copy instead of memcpy

Thanks for the update.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>