Home
last modified time | relevance | path

Searched refs:is_uc (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c624 bool is_uc = (list_type == MLX5_NVPRT_LIST_TYPE_UC); in mlx5e_fill_addr_array() local
631 addr_list = is_uc ? fs->l2.netdev_uc : fs->l2.netdev_mc; in mlx5e_fill_addr_array()
633 if (is_uc) /* Make sure our own address is pushed first */ in mlx5e_fill_addr_array()
651 bool is_uc = (list_type == MLX5_NVPRT_LIST_TYPE_UC); in mlx5e_vport_context_update_addr_list() local
661 size = is_uc ? 0 : (fs->l2.broadcast_enabled ? 1 : 0); in mlx5e_vport_context_update_addr_list()
662 max_size = is_uc ? in mlx5e_vport_context_update_addr_list()
666 addr_list = is_uc ? fs->l2.netdev_uc : fs->l2.netdev_mc; in mlx5e_vport_context_update_addr_list()
672 is_uc ? "UC" : "MC", size, max_size); in mlx5e_vport_context_update_addr_list()
689 is_uc ? "UC" : "MC", err); in mlx5e_vport_context_update_addr_list()
Deswitch.c477 bool is_uc = list_type == MLX5_NVPRT_LIST_TYPE_UC; in esw_apply_vport_addr_list() local
486 vport_addr_add = is_uc ? esw_add_uc_addr : in esw_apply_vport_addr_list()
488 vport_addr_del = is_uc ? esw_del_uc_addr : in esw_apply_vport_addr_list()
491 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_apply_vport_addr_list()
511 bool is_uc = list_type == MLX5_NVPRT_LIST_TYPE_UC; in esw_update_vport_addr_list() local
522 size = is_uc ? MLX5_MAX_UC_PER_VPORT(esw->dev) : in esw_update_vport_addr_list()
529 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_update_vport_addr_list()
544 vport->vport, is_uc ? "UC" : "MC", size); in esw_update_vport_addr_list()
547 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
550 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
/Linux-v6.1/net/tipc/
Dlink.c1573 bool is_uc = !link_is_bc_sndlink(l); in tipc_link_advance_transmq() local
1579 if (ga && is_uc) { in tipc_link_advance_transmq()
1604 if (is_uc) in tipc_link_advance_transmq()
1658 if (!is_uc) in tipc_link_advance_transmq()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c1793 static int dpaa2_switch_port_lookup_address(struct net_device *netdev, int is_uc, in dpaa2_switch_port_lookup_address() argument
1796 struct netdev_hw_addr_list *list = (is_uc) ? &netdev->uc : &netdev->mc; in dpaa2_switch_port_lookup_address()