[PATCH v4 10/10] net/mlx5: accept more unicast MAC addresses
David Marchand
david.marchand at redhat.com
Fri Jul 10 08:44:43 CEST 2026
On Thu, 9 Jul 2026 at 18:04, David Marchand <david.marchand at redhat.com> wrote:
> diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_os.c
> index 1cad6e1091..23632f55af 100644
> --- a/drivers/net/mlx5/linux/mlx5_os.c
> +++ b/drivers/net/mlx5/linux/mlx5_os.c
[snip]
> @@ -1762,8 +1788,8 @@ mlx5_dev_spawn(struct rte_device *dpdk_dev,
> mlx5_nl_mac_addr_sync(priv->nl_socket_route,
> mlx5_ifindex(eth_dev),
> eth_dev->data->mac_addrs,
> - MLX5_MAX_UC_MAC_ADDRESSES,
> - MLX5_MAX_MAC_ADDRESSES);
> + sh->dev_cap.max_mac_addrs,
> + sh->dev_cap.max_uc_mac_addrs);
> priv->ctrl_flows = 0;
> rte_spinlock_init(&priv->flow_list_lock);
> TAILQ_INIT(&priv->flow_meters);
Oops, I swapped those two arguments when cleaning up the patches...
I'll need a new revision anyway when sending the series rebased on 26.11-rc0.
--
David Marchand
More information about the dev
mailing list