summaryrefslogtreecommitdiff
path: root/drivers/net/mlx4/mlx4.c
diff options
context:
space:
mode:
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>2019-04-18 15:10:34 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2019-05-03 18:45:23 +0200
commit138a740c45bf3ade795906447f3a44575651f723 (patch)
treeaa005d97c065dd101c42fd85de4298e5fe0dd3f0 /drivers/net/mlx4/mlx4.c
parentccb3815346e62d9e597b76164f52c2e4f6c95a87 (diff)
downloaddpdk-138a740c45bf3ade795906447f3a44575651f723.zip
dpdk-138a740c45bf3ade795906447f3a44575651f723.tar.gz
dpdk-138a740c45bf3ade795906447f3a44575651f723.tar.xz
net/mlx4: support multicast address list interface
Since this driver does not distinguish unicast/multicast addresses, applications could always rely on the standard MAC add/remove/set interface to configure both types. As a result, the multicast address list interface never got implemented (rte_eth_dev_set_mc_addr_list()) however PMD-agnostic applications still rely on it for compatibility reasons; a wrapper is therefore required. Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'drivers/net/mlx4/mlx4.c')
-rw-r--r--drivers/net/mlx4/mlx4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 17dfcd5..fe559c0 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -410,6 +410,7 @@ static const struct eth_dev_ops mlx4_dev_ops = {
.mac_addr_remove = mlx4_mac_addr_remove,
.mac_addr_add = mlx4_mac_addr_add,
.mac_addr_set = mlx4_mac_addr_set,
+ .set_mc_addr_list = mlx4_set_mc_addr_list,
.stats_get = mlx4_stats_get,
.stats_reset = mlx4_stats_reset,
.fw_version_get = mlx4_fw_version_get,