Searched refs:nve (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve.c | 205 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_list_find() local 215 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_list_create() local 241 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_list_destroy() local 324 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_record_get() local 729 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_tunnel_init() local 761 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_tunnel_fini() local 764 ops = nve->nve_ops_arr[nve->config.type]; in mlxsw_sp_nve_tunnel_fini() 848 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_ipv6_ht_insert() local 877 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_ipv6_ht_remove() local 924 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_ipv6_addr_flush_by_fid() local [all …]
|
H A D | spectrum_nve_vxlan.c | 128 return mlxsw_sp_nve_vxlan_can_offload(nve, params, extack); in mlxsw_sp1_nve_vxlan_can_offload() 235 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_init() 257 nve->tunnel_index); in mlxsw_sp1_nve_vxlan_init() 275 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp1_nve_vxlan_fini() 276 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_fini() 348 mlxsw_sp->nve->ul_rif_index = ul_rif_index; in mlxsw_sp2_nve_vxlan_config_set() 416 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp2_nve_vxlan_init() 432 nve->ul_rif_index); in mlxsw_sp2_nve_vxlan_init() 439 nve->tunnel_index); in mlxsw_sp2_nve_vxlan_init() 457 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp2_nve_vxlan_fini() [all …]
|
H A D | spectrum_nve.h | 38 bool (*can_offload)(const struct mlxsw_sp_nve *nve, 41 void (*nve_config)(const struct mlxsw_sp_nve *nve, 44 int (*init)(struct mlxsw_sp_nve *nve, 46 void (*fini)(struct mlxsw_sp_nve *nve);
|
H A D | spectrum.h | 181 struct mlxsw_sp_nve *nve; member
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac5.c | 437 int i, ret, nve = 0; in dwmac5_rxp_config() local 471 entry->val.ok_index = nve + 2; in dwmac5_rxp_config() 474 ret = dwmac5_rxp_update_single_entry(ioaddr, entry, nve); in dwmac5_rxp_config() 478 entry->table_pos = nve++; in dwmac5_rxp_config() 482 ret = dwmac5_rxp_update_single_entry(ioaddr, frag, nve); in dwmac5_rxp_config() 485 frag->table_pos = nve++; in dwmac5_rxp_config() 490 if (!nve) in dwmac5_rxp_config() 499 ret = dwmac5_rxp_update_single_entry(ioaddr, entry, nve); in dwmac5_rxp_config() 503 entry->table_pos = nve++; in dwmac5_rxp_config() 507 val = (nve << 16) & NPE; in dwmac5_rxp_config() [all …]
|
H A D | dwxgmac2_core.c | 1131 int i, ret, nve = 0; in dwxgmac3_rxp_config() local 1165 entry->val.ok_index = nve + 2; in dwxgmac3_rxp_config() 1168 ret = dwxgmac3_rxp_update_single_entry(ioaddr, entry, nve); in dwxgmac3_rxp_config() 1172 entry->table_pos = nve++; in dwxgmac3_rxp_config() 1176 ret = dwxgmac3_rxp_update_single_entry(ioaddr, frag, nve); in dwxgmac3_rxp_config() 1179 frag->table_pos = nve++; in dwxgmac3_rxp_config() 1184 if (!nve) in dwxgmac3_rxp_config() 1193 ret = dwxgmac3_rxp_update_single_entry(ioaddr, entry, nve); in dwxgmac3_rxp_config() 1197 entry->table_pos = nve++; in dwxgmac3_rxp_config() 1201 val = (nve << 16) & XGMAC_NPE; in dwxgmac3_rxp_config() [all …]
|