Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c1188 int nvports = esw->total_vports; in esw_add_fdb_peer_miss_rules() local
1205 flows = kvcalloc(nvports, sizeof(*flows), GFP_KERNEL); in esw_add_fdb_peer_miss_rules()
1980 int nvports; in esw_get_nr_ft_offloads_steering_src_ports() local
1982 nvports = esw->total_vports + MLX5_ESW_MISS_FLOWS; in esw_get_nr_ft_offloads_steering_src_ports()
1984 nvports += MLX5E_TC_MAX_INT_PORT_NUM; in esw_get_nr_ft_offloads_steering_src_ports()
1986 return nvports; in esw_get_nr_ft_offloads_steering_src_ports()
2030 int nvports; in esw_create_vport_rx_group() local
2033 nvports = esw_get_nr_ft_offloads_steering_src_ports(esw); in esw_create_vport_rx_group()
2041 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, nvports - 1); in esw_create_vport_rx_group()