/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_hw.h | 225 int prestera_hw_lag_member_add(struct prestera_port *port, u16 lag_id); 226 int prestera_hw_lag_member_del(struct prestera_port *port, u16 lag_id); 227 int prestera_hw_lag_member_enable(struct prestera_port *port, u16 lag_id, 229 int prestera_hw_lag_fdb_add(struct prestera_switch *sw, u16 lag_id, 231 int prestera_hw_lag_fdb_del(struct prestera_switch *sw, u16 lag_id, 233 int prestera_hw_fdb_flush_lag(struct prestera_switch *sw, u16 lag_id, 236 u16 lag_id, u16 vid, u32 mode);
|
A D | prestera_hw.c | 339 __le16 lag_id; member 472 __le16 lag_id; member 508 __le16 lag_id; member 638 evt->fdb_evt.dest.lag_id = __le16_to_cpu(hw_evt->dest.lag_id); in prestera_fw_parse_fdb_evt() 1647 .lag_id = __cpu_to_le16(lag_id), in prestera_hw_lag_fdb_add() 1665 .lag_id = __cpu_to_le16(lag_id), in prestera_hw_lag_fdb_del() 1723 .lag_id = __cpu_to_le16(lag_id), in prestera_hw_fdb_flush_lag() 1738 .lag_id = __cpu_to_le16(lag_id), in prestera_hw_fdb_flush_lag_vlan() 1823 .lag_id = __cpu_to_le16(lag_id), in prestera_hw_lag_member_add() 1835 .lag_id = __cpu_to_le16(lag_id), in prestera_hw_lag_member_del() [all …]
|
A D | prestera.h | 69 u16 lag_id; member 212 u16 lag_id; member
|
A D | prestera_main.c | 624 err = prestera_hw_lag_member_add(port, lag->lag_id); in prestera_lag_port_add() 647 err = prestera_hw_lag_member_del(port, lag->lag_id); in prestera_lag_port_del() 676 return port->lag->lag_id; in prestera_port_lag_id() 688 sw->lags[id].lag_id = id; in prestera_lag_init() 752 return prestera_hw_lag_member_enable(port, port->lag->lag_id, enabled); in prestera_netdev_port_lower_event()
|
A D | prestera_switchdev.c | 1146 lag = prestera_lag_by_id(sw, evt->fdb_evt.dest.lag_id); in prestera_fdb_event()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum.c | 3801 u16 lag_id) in mlxsw_sp_lag_col_port_remove() argument 3807 lag_id); in mlxsw_sp_lag_col_port_remove() 3812 u16 lag_id) in mlxsw_sp_lag_col_port_enable() argument 3818 lag_id); in mlxsw_sp_lag_col_port_enable() 3823 u16 lag_id) in mlxsw_sp_lag_col_port_disable() argument 3829 lag_id); in mlxsw_sp_lag_col_port_disable() 3866 u16 lag_id; in mlxsw_sp_master_lag_check() local 3902 u16 lag_id; in mlxsw_sp_port_lag_join() local 3926 mlxsw_sp_port->lag_id = lag_id; in mlxsw_sp_port_lag_join() 3958 u16 lag_id = mlxsw_sp_port->lag_id; in mlxsw_sp_port_lag_leave() local [all …]
|
A D | pci_hw.h | 157 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);
|
A D | core.h | 210 u16 lag_id; member 221 u16 lag_id, u8 port_index, u8 local_port); 223 u16 lag_id, u8 port_index); 225 u16 lag_id, u8 local_port);
|
A D | spectrum_switchdev.c | 69 u16 lag_id; member 352 bridge_port->lag_id = mlxsw_sp_port->lag_id; in mlxsw_sp_bridge_port_create() 1398 lag_vid, lag_id); in mlxsw_sp_port_fdb_uc_lag_op() 1444 bridge_port->lag_id, in mlxsw_sp_port_fdb_set() 1545 int lag_id; in mlxsw_sp_bridge_port_get_ports_bitmap() local 1552 lag_id = bridge_port->lag_id; in mlxsw_sp_bridge_port_get_ports_bitmap() 1555 lag_id, i); in mlxsw_sp_bridge_port_get_ports_bitmap() 1954 u16 lag_id) in mlxsw_sp_lag_rep_port() argument 1963 mlxsw_sp_port = mlxsw_sp_port_lagged_get(mlxsw_sp, lag_id, i); in mlxsw_sp_lag_rep_port() 2604 u16 lag_id; in mlxsw_sp_fdb_notify_mac_lag_process() local [all …]
|
A D | reg.h | 469 u16 lag_id) in mlxsw_reg_sfd_uc_lag_pack() argument 1280 MLXSW_ITEM32(reg, sfdf, lag_id, 0x0C, 0, 10); 1325 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_create_pack() 1332 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_destroy_pack() 1354 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_add_port_pack() 1364 mlxsw_reg_sldr_lag_id_set(payload, lag_id); in mlxsw_reg_sldr_lag_remove_port_pack() 1534 u8 local_port, u16 lag_id, in mlxsw_reg_slcor_pack() argument 1544 u8 local_port, u16 lag_id, in mlxsw_reg_slcor_port_add_pack() argument 1553 u8 local_port, u16 lag_id) in mlxsw_reg_slcor_port_remove_pack() argument 1560 u8 local_port, u16 lag_id) in mlxsw_reg_slcor_col_enable_pack() argument [all …]
|
A D | core.c | 2649 __func__, rx_info->u.lag_id, in mlxsw_core_skb_receive() 2655 rx_info->u.lag_id, in mlxsw_core_skb_receive() 2695 u16 lag_id, u8 port_index) in mlxsw_core_lag_mapping_index() argument 2697 return MLXSW_CORE_RES_GET(mlxsw_core, MAX_LAG_MEMBERS) * lag_id + in mlxsw_core_lag_mapping_index() 2702 u16 lag_id, u8 port_index, u8 local_port) in mlxsw_core_lag_mapping_set() argument 2705 lag_id, port_index); in mlxsw_core_lag_mapping_set() 2712 u16 lag_id, u8 port_index) in mlxsw_core_lag_mapping_get() argument 2715 lag_id, port_index); in mlxsw_core_lag_mapping_get() 2722 u16 lag_id, u8 local_port) in mlxsw_core_lag_mapping_clear() argument 2728 lag_id, i); in mlxsw_core_lag_mapping_clear()
|
A D | spectrum.h | 242 mlxsw_sp_lag_get(struct mlxsw_sp *mlxsw_sp, u16 lag_id) in mlxsw_sp_lag_get() argument 244 return &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_get() 315 u16 lag_id; member 441 mlxsw_sp_port_lagged_get(struct mlxsw_sp *mlxsw_sp, u16 lag_id, u8 port_index) in mlxsw_sp_port_lagged_get() argument 447 lag_id, port_index); in mlxsw_sp_port_lagged_get()
|
A D | spectrum_router.c | 75 u16 lag_id; member 86 u16 lag_id; member 8277 params->lag_id = mlxsw_sp_port->lag_id; in mlxsw_sp_rif_subport_params_init() 9248 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup() 9265 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
|
A D | pci.c | 619 rx_info.u.lag_id = mlxsw_pci_cqe_lag_id_get(cqe_v, cqe); in mlxsw_pci_cqe_rdq_handle()
|