Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3427 static int mlxsw_sp_lag_create(struct mlxsw_sp *mlxsw_sp, u16 lag_id) in mlxsw_sp_lag_create() argument
3431 mlxsw_reg_sldr_lag_create_pack(sldr_pl, lag_id); in mlxsw_sp_lag_create()
3435 static int mlxsw_sp_lag_destroy(struct mlxsw_sp *mlxsw_sp, u16 lag_id) in mlxsw_sp_lag_destroy() argument
3439 mlxsw_reg_sldr_lag_destroy_pack(sldr_pl, lag_id); in mlxsw_sp_lag_destroy()
3444 u16 lag_id, u8 port_index) in mlxsw_sp_lag_col_port_add() argument
3450 lag_id, port_index); in mlxsw_sp_lag_col_port_add()
3455 u16 lag_id) in mlxsw_sp_lag_col_port_remove() argument
3461 lag_id); in mlxsw_sp_lag_col_port_remove()
3466 u16 lag_id) in mlxsw_sp_lag_col_port_enable() argument
3472 lag_id); in mlxsw_sp_lag_col_port_enable()
[all …]
Dpci_hw.h157 MLXSW_ITEM32(pci, cqe0, lag_id, 0x00, 4, 12);
158 MLXSW_ITEM32(pci, cqe12, lag_id, 0x00, 0, 16);
159 mlxsw_pci_cqe_item_helpers(lag_id, 0, 12, 12);
Dcore.h186 u16 lag_id; member
197 u16 lag_id, u8 port_index, u8 local_port);
199 u16 lag_id, u8 port_index);
201 u16 lag_id, u8 local_port);
Dspectrum_switchdev.c68 u16 lag_id; member
339 bridge_port->lag_id = mlxsw_sp_port->lag_id; in mlxsw_sp_bridge_port_create()
1267 system_port = lagged ? bridge_port->lag_id : bridge_port->system_port; in mlxsw_sp_bridge_port_fdb_flush()
1377 static int mlxsw_sp_port_fdb_uc_lag_op(struct mlxsw_sp *mlxsw_sp, u16 lag_id, in mlxsw_sp_port_fdb_uc_lag_op() argument
1392 lag_vid, lag_id); in mlxsw_sp_port_fdb_uc_lag_op()
1438 bridge_port->lag_id, in mlxsw_sp_port_fdb_set()
1539 int lag_id; in mlxsw_sp_bridge_port_get_ports_bitmap() local
1546 lag_id = bridge_port->lag_id; in mlxsw_sp_bridge_port_get_ports_bitmap()
1549 lag_id, i); in mlxsw_sp_bridge_port_get_ports_bitmap()
1961 u16 lag_id) in mlxsw_sp_lag_rep_port() argument
[all …]
Dreg.h469 u16 lag_id) in mlxsw_reg_sfd_uc_lag_pack() argument
478 mlxsw_reg_sfd_uc_lag_lag_id_set(payload, rec_index, lag_id); in mlxsw_reg_sfd_uc_lag_pack()
1250 MLXSW_ITEM32(reg, sfdf, lag_id, 0x0C, 0, 10);
1289 MLXSW_ITEM32(reg, sldr, lag_id, 0x00, 0, 10);
1291 static inline void mlxsw_reg_sldr_lag_create_pack(char *payload, u8 lag_id) in mlxsw_reg_sldr_lag_create_pack() argument
1295 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_create_pack()
1298 static inline void mlxsw_reg_sldr_lag_destroy_pack(char *payload, u8 lag_id) in mlxsw_reg_sldr_lag_destroy_pack() argument
1302 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_destroy_pack()
1319 static inline void mlxsw_reg_sldr_lag_add_port_pack(char *payload, u8 lag_id, in mlxsw_reg_sldr_lag_add_port_pack() argument
1324 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_add_port_pack()
[all …]
Dspectrum.h221 mlxsw_sp_lag_get(struct mlxsw_sp *mlxsw_sp, u16 lag_id) in mlxsw_sp_lag_get() argument
223 return &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_get()
282 u16 lag_id; member
409 mlxsw_sp_port_lagged_get(struct mlxsw_sp *mlxsw_sp, u16 lag_id, u8 port_index) in mlxsw_sp_port_lagged_get() argument
415 lag_id, port_index); in mlxsw_sp_port_lagged_get()
Dcore.c2611 __func__, rx_info->u.lag_id, in mlxsw_core_skb_receive()
2617 rx_info->u.lag_id, in mlxsw_core_skb_receive()
2657 u16 lag_id, u8 port_index) in mlxsw_core_lag_mapping_index() argument
2659 return MLXSW_CORE_RES_GET(mlxsw_core, MAX_LAG_MEMBERS) * lag_id + in mlxsw_core_lag_mapping_index()
2664 u16 lag_id, u8 port_index, u8 local_port) in mlxsw_core_lag_mapping_set() argument
2667 lag_id, port_index); in mlxsw_core_lag_mapping_set()
2674 u16 lag_id, u8 port_index) in mlxsw_core_lag_mapping_get() argument
2677 lag_id, port_index); in mlxsw_core_lag_mapping_get()
2684 u16 lag_id, u8 local_port) in mlxsw_core_lag_mapping_clear() argument
2690 lag_id, i); in mlxsw_core_lag_mapping_clear()
Dspectrum_router.c74 u16 lag_id; member
85 u16 lag_id; member
6637 params->lag_id = mlxsw_sp_port->lag_id; in mlxsw_sp_rif_subport_params_init()
7393 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup()
7409 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
Dpci.c574 rx_info.u.lag_id = mlxsw_pci_cqe_lag_id_get(cqe_v, cqe); in mlxsw_pci_cqe_rdq_handle()