Searched refs:mlx5_lag (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | lag.h | 60 struct mlx5_lag *lag; 69 struct mlx5_lag { struct 100 static inline struct mlx5_lag * argument 107 __mlx5_lag_is_active(struct mlx5_lag *ldev) in __mlx5_lag_is_active() 113 mlx5_lag_is_ready(struct mlx5_lag *ldev) in mlx5_lag_is_ready() 118 void mlx5_modify_lag(struct mlx5_lag *ldev, 120 int mlx5_activate_lag(struct mlx5_lag *ldev, 124 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, 126 bool mlx5_shared_fdb_supported(struct mlx5_lag *ldev); 136 void mlx5_disable_lag(struct mlx5_lag *ldev);
|
D | lag.c | 68 static u8 lag_active_port_bits(struct mlx5_lag *ldev) in lag_active_port_bits() 181 struct mlx5_lag *ldev, in mlx5_lag_print_mapping() 226 struct mlx5_lag *ldev = container_of(ref, struct mlx5_lag, ref); in mlx5_ldev_free() 238 static void mlx5_ldev_put(struct mlx5_lag *ldev) in mlx5_ldev_put() 243 static void mlx5_ldev_get(struct mlx5_lag *ldev) in mlx5_ldev_get() 248 static struct mlx5_lag *mlx5_lag_dev_alloc(struct mlx5_core_dev *dev) in mlx5_lag_dev_alloc() 250 struct mlx5_lag *ldev; in mlx5_lag_dev_alloc() 286 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, in mlx5_lag_dev_get_netdev_idx() 298 static bool __mlx5_lag_is_roce(struct mlx5_lag *ldev) in __mlx5_lag_is_roce() 303 static bool __mlx5_lag_is_sriov(struct mlx5_lag *ldev) in __mlx5_lag_is_sriov() [all …]
|
D | mp.h | 29 void mlx5_lag_mp_reset(struct mlx5_lag *ldev); 30 int mlx5_lag_mp_init(struct mlx5_lag *ldev); 31 void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev); 36 static inline void mlx5_lag_mp_reset(struct mlx5_lag *ldev) {}; in mlx5_lag_mp_reset() 37 static inline int mlx5_lag_mp_init(struct mlx5_lag *ldev) { return 0; } in mlx5_lag_mp_init() 38 static inline void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mp_cleanup()
|
D | port_sel.h | 33 int mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports); 34 void mlx5_lag_port_sel_destroy(struct mlx5_lag *ldev); 35 int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, 39 static inline int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, in mlx5_lag_port_sel_create() 46 static inline int mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports) in mlx5_lag_port_sel_modify() 51 static inline void mlx5_lag_port_sel_destroy(struct mlx5_lag *ldev) {} in mlx5_lag_port_sel_destroy()
|
D | mpesw.c | 10 static int add_mpesw_rule(struct mlx5_lag *ldev) in add_mpesw_rule() 36 static void del_mpesw_rule(struct mlx5_lag *ldev) in del_mpesw_rule() 46 struct mlx5_lag *ldev = mpesww->lag; in mlx5_mpesw_work() 61 struct mlx5_lag *ldev = dev->priv.lag; in mlx5_lag_mpesw_queue_work() 101 struct mlx5_lag *ldev = mdev->priv.lag; in mlx5_lag_do_mirred() 120 void mlx5_lag_mpesw_init(struct mlx5_lag *ldev) in mlx5_lag_mpesw_init() 125 void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev) in mlx5_lag_mpesw_cleanup()
|
D | mp.c | 12 static bool __mlx5_lag_is_multipath(struct mlx5_lag *ldev) in __mlx5_lag_is_multipath() 17 static bool mlx5_lag_multipath_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_multipath_check_prereq() 31 struct mlx5_lag *ldev; in mlx5_lag_is_multipath() 50 static void mlx5_lag_set_port_affinity(struct mlx5_lag *ldev, in mlx5_lag_set_port_affinity() 113 struct mlx5_lag *ldev; 121 static void mlx5_lag_fib_route_event(struct mlx5_lag *ldev, unsigned long event, in mlx5_lag_fib_route_event() 189 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event() 218 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() 246 mlx5_lag_init_fib_work(struct mlx5_lag *ldev, unsigned long event) in mlx5_lag_init_fib_work() 266 struct mlx5_lag *ldev = container_of(mp, struct mlx5_lag, lag_mp); in mlx5_lag_fib_event() [all …]
|
D | mpesw.h | 18 void mlx5_lag_mpesw_init(struct mlx5_lag *ldev); 19 void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev); 21 static inline void mlx5_lag_mpesw_init(struct mlx5_lag *ldev) {} in mlx5_lag_mpesw_init() 22 static inline void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mpesw_cleanup()
|
D | debugfs.c | 6 static char *get_str_mode_type(struct mlx5_lag *ldev) in get_str_mode_type() 22 struct mlx5_lag *ldev; in type_show() 40 struct mlx5_lag *ldev; in port_sel_mode_show() 61 struct mlx5_lag *ldev; in state_show() 76 struct mlx5_lag *ldev; in flags_show() 105 struct mlx5_lag *ldev; in mapping_show() 142 struct mlx5_lag *ldev; in members_show()
|
D | port_sel.c | 38 static int mlx5_lag_create_port_sel_table(struct mlx5_lag *ldev, in mlx5_lag_create_port_sel_table() 291 mlx5_lag_create_definer(struct mlx5_lag *ldev, enum netdev_lag_hash hash, in mlx5_lag_create_definer() 337 static void mlx5_lag_destroy_definer(struct mlx5_lag *ldev, in mlx5_lag_destroy_definer() 357 static void mlx5_lag_destroy_definers(struct mlx5_lag *ldev) in mlx5_lag_destroy_definers() 372 static int mlx5_lag_create_definers(struct mlx5_lag *ldev, in mlx5_lag_create_definers() 449 static void mlx5_lag_set_inner_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_inner_ttc_params() 470 static void mlx5_lag_set_outer_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_outer_ttc_params() 502 static int mlx5_lag_create_ttc_table(struct mlx5_lag *ldev) in mlx5_lag_create_ttc_table() 516 static int mlx5_lag_create_inner_ttc_table(struct mlx5_lag *ldev) in mlx5_lag_create_inner_ttc_table() 530 int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, in mlx5_lag_port_sel_create() [all …]
|
/linux-6.1.9/include/linux/mlx5/ |
D | driver.h | 507 struct mlx5_lag; 620 struct mlx5_lag *lag;
|