Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c1236 int nvports = esw->total_vports; in esw_add_fdb_peer_miss_rules() local
1250 flows = kvcalloc(nvports, sizeof(*flows), GFP_KERNEL); in esw_add_fdb_peer_miss_rules()
1909 int nvports; in esw_get_offloads_ft_size() local
1911 nvports = esw->total_vports + MLX5_ESW_MISS_FLOWS; in esw_get_offloads_ft_size()
1913 nvports += MLX5E_TC_MAX_INT_PORT_NUM; in esw_get_offloads_ft_size()
1915 return nvports; in esw_get_offloads_ft_size()
1958 int nvports; in esw_create_vport_rx_group() local
1961 nvports = esw_get_offloads_ft_size(esw); in esw_create_vport_rx_group()
1970 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, nvports - 1); in esw_create_vport_rx_group()
/linux-5.19.10/drivers/scsi/bfa/
Dbfi.h523 u8 nvports; member
Dbfa_core.c1721 return cfgrsp->pbc_cfg.nvports; in bfa_iocfc_get_pbc_vports()