Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.c100 struct mlx5_mpfs *mpfs; in mlx5_mpfs_init() local
105 mpfs = kzalloc(sizeof(*mpfs), GFP_KERNEL); in mlx5_mpfs_init()
106 if (!mpfs) in mlx5_mpfs_init()
109 mutex_init(&mpfs->lock); in mlx5_mpfs_init()
110 mpfs->size = l2table_size; in mlx5_mpfs_init()
111 mpfs->bitmap = bitmap_zalloc(l2table_size, GFP_KERNEL); in mlx5_mpfs_init()
112 if (!mpfs->bitmap) { in mlx5_mpfs_init()
113 kfree(mpfs); in mlx5_mpfs_init()
117 dev->priv.mpfs = mpfs; in mlx5_mpfs_init()
123 struct mlx5_mpfs *mpfs = dev->priv.mpfs; in mlx5_mpfs_cleanup() local
[all …]
/drivers/mailbox/
DMakefile44 obj-$(CONFIG_POLARFIRE_SOC_MAILBOX) += mailbox-mpfs.o
DKconfig171 module will be called mailbox-mpfs.
/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile65 mlx5_core-$(CONFIG_MLX5_MPFS) += lib/mpfs.o
Deswitch.c62 bool mpfs; /* UC MAC was added to MPFs */ member
308 vaddr->mpfs = true; in esw_add_uc_addr()
330 if (!vaddr->mpfs || mlx5_esw_is_manager_vport(esw, vport)) in esw_del_uc_addr()
338 vaddr->mpfs = false; in esw_del_uc_addr()
Den_fs.c71 bool mpfs; member
553 hn->mpfs = !l2_err; in mlx5e_execute_l2_action()
559 if (!is_multicast_ether_addr(mac_addr) && hn->mpfs) in mlx5e_execute_l2_action()