Home
last modified time | relevance | path

Searched refs:mpfs (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.c101 struct mlx5_mpfs *mpfs; in mlx5_mpfs_init() local
106 mpfs = kzalloc(sizeof(*mpfs), GFP_KERNEL); in mlx5_mpfs_init()
107 if (!mpfs) in mlx5_mpfs_init()
110 mutex_init(&mpfs->lock); in mlx5_mpfs_init()
111 mpfs->size = l2table_size; in mlx5_mpfs_init()
112 mpfs->bitmap = bitmap_zalloc(l2table_size, GFP_KERNEL); in mlx5_mpfs_init()
113 if (!mpfs->bitmap) { in mlx5_mpfs_init()
114 kfree(mpfs); in mlx5_mpfs_init()
118 dev->priv.mpfs = mpfs; in mlx5_mpfs_init()
124 struct mlx5_mpfs *mpfs = dev->priv.mpfs; in mlx5_mpfs_cleanup() local
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile46 mlx5_core-$(CONFIG_MLX5_MPFS) += lib/mpfs.o
Den_fs.c69 bool mpfs; member
441 hn->mpfs = !l2_err; in mlx5e_execute_l2_action()
447 if (!is_multicast_ether_addr(mac_addr) && hn->mpfs) in mlx5e_execute_l2_action()
Deswitch.c56 bool mpfs; /* UC MAC was added to MPFs */ member
514 vaddr->mpfs = true; in esw_add_uc_addr()
536 if (!vaddr->mpfs || esw->manager_vport == vport) in esw_del_uc_addr()
544 vaddr->mpfs = false; in esw_del_uc_addr()
/Linux-v5.4/include/linux/mlx5/
Ddriver.h581 struct mlx5_mpfs *mpfs; member