Searched refs:is_uc (Results 1 – 2 of 2) sorted by relevance
472 bool is_uc = list_type == MLX5_NIC_VPORT_LIST_TYPE_UC; in esw_apply_vport_addr_list() 481 vport_addr_add = is_uc ? esw_add_uc_addr : in esw_apply_vport_addr_list() 483 vport_addr_del = is_uc ? esw_del_uc_addr : in esw_apply_vport_addr_list() 486 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_apply_vport_addr_list() 507 bool is_uc = list_type == MLX5_NIC_VPORT_LIST_TYPE_UC; in esw_update_vport_addr_list() 518 size = is_uc ? MLX5_MAX_UC_PER_VPORT(esw->dev) : in esw_update_vport_addr_list() 525 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_update_vport_addr_list() 537 vport_num, is_uc ? "UC" : "MC", size); in esw_update_vport_addr_list() 540 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 543 if (!is_uc in esw_update_vport_addr_list() 475 bool is_uc = list_type == MLX5_NIC_VPORT_LIST_TYPE_UC; esw_apply_vport_addr_list() local 510 bool is_uc = list_type == MLX5_NIC_VPORT_LIST_TYPE_UC; esw_update_vport_addr_list() local [all...]
1038 bool is_uc = (list_type == MLX5_NIC_VPORT_LIST_TYPE_UC); in mlx5e_fill_addr_array() local1046 addr_list = is_uc ? priv->eth_addr.if_uc : priv->eth_addr.if_mc; in mlx5e_fill_addr_array()1048 if (is_uc) /* Make sure our own address is pushed first */ in mlx5e_fill_addr_array()1065 bool is_uc = (list_type == MLX5_NIC_VPORT_LIST_TYPE_UC); in mlx5e_vport_context_update_addr_list() local1075 size = is_uc ? 0 : (priv->eth_addr.broadcast_enabled ? 1 : 0); in mlx5e_vport_context_update_addr_list()1076 max_size = is_uc ? in mlx5e_vport_context_update_addr_list()1080 addr_list = is_uc ? priv->eth_addr.if_uc : priv->eth_addr.if_mc; in mlx5e_vport_context_update_addr_list()1087 is_uc ? "UC" : "MC", size, max_size); in mlx5e_vport_context_update_addr_list()1105 is_uc ? "UC" : "MC", err); in mlx5e_vport_context_update_addr_list()