Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c481 bool is_uc = (list_type == MLX5_NVPRT_LIST_TYPE_UC); in mlx5e_fill_addr_array() local
489 addr_list = is_uc ? priv->fs.l2.netdev_uc : priv->fs.l2.netdev_mc; in mlx5e_fill_addr_array()
491 if (is_uc) /* Make sure our own address is pushed first */ in mlx5e_fill_addr_array()
508 bool is_uc = (list_type == MLX5_NVPRT_LIST_TYPE_UC); in mlx5e_vport_context_update_addr_list() local
518 size = is_uc ? 0 : (priv->fs.l2.broadcast_enabled ? 1 : 0); in mlx5e_vport_context_update_addr_list()
519 max_size = is_uc ? in mlx5e_vport_context_update_addr_list()
523 addr_list = is_uc ? priv->fs.l2.netdev_uc : priv->fs.l2.netdev_mc; in mlx5e_vport_context_update_addr_list()
530 is_uc ? "UC" : "MC", size, max_size); in mlx5e_vport_context_update_addr_list()
548 is_uc ? "UC" : "MC", err); in mlx5e_vport_context_update_addr_list()
Deswitch.c688 bool is_uc = list_type == MLX5_NVPRT_LIST_TYPE_UC; in esw_apply_vport_addr_list() local
697 vport_addr_add = is_uc ? esw_add_uc_addr : in esw_apply_vport_addr_list()
699 vport_addr_del = is_uc ? esw_del_uc_addr : in esw_apply_vport_addr_list()
702 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_apply_vport_addr_list()
722 bool is_uc = list_type == MLX5_NVPRT_LIST_TYPE_UC; in esw_update_vport_addr_list() local
733 size = is_uc ? MLX5_MAX_UC_PER_VPORT(esw->dev) : in esw_update_vport_addr_list()
740 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_update_vport_addr_list()
755 vport->vport, is_uc ? "UC" : "MC", size); in esw_update_vport_addr_list()
758 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
761 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c912 static int port_lookup_address(struct net_device *netdev, int is_uc, in port_lookup_address() argument
915 struct netdev_hw_addr_list *list = (is_uc) ? &netdev->uc : &netdev->mc; in port_lookup_address()