Searched refs:nvports (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 577 static int esw_create_offloads_fdb_tables(struct mlx5_eswitch *esw, int nvports) in esw_create_offloads_fdb_tables() argument 606 table_size = nvports * MAX_SQ_NVPORTS + MAX_PF_SQ + 2; in esw_create_offloads_fdb_tables() 629 ix = nvports * MAX_SQ_NVPORTS + MAX_PF_SQ; in esw_create_offloads_fdb_tables() 740 int nvports = priv->sriov.num_vfs + 2; in esw_create_vport_rx_group() local 756 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, nvports - 1); in esw_create_vport_rx_group() 878 static void esw_offloads_unload_reps_type(struct mlx5_eswitch *esw, int nvports, in esw_offloads_unload_reps_type() argument 884 for (vport = nvports - 1; vport >= 0; vport--) { in esw_offloads_unload_reps_type() 893 static void esw_offloads_unload_reps(struct mlx5_eswitch *esw, int nvports) in esw_offloads_unload_reps() argument 898 esw_offloads_unload_reps_type(esw, nvports, rep_type); in esw_offloads_unload_reps() 901 static int esw_offloads_load_reps_type(struct mlx5_eswitch *esw, int nvports, in esw_offloads_load_reps_type() argument [all …]
|
D | eswitch.h | 186 void esw_offloads_cleanup(struct mlx5_eswitch *esw, int nvports); 187 int esw_offloads_init(struct mlx5_eswitch *esw, int nvports);
|
D | eswitch.c | 1660 int nvports; in mlx5_eswitch_disable_sriov() local 1670 nvports = esw->enabled_vports; in mlx5_eswitch_disable_sriov() 1683 esw_offloads_cleanup(esw, nvports); in mlx5_eswitch_disable_sriov()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfi.h | 531 u8 nvports; member
|
D | bfa_core.c | 1729 return cfgrsp->pbc_cfg.nvports; in bfa_iocfc_get_pbc_vports()
|