Searched refs:mlx5_lag (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | lag.h | 56 struct mlx5_lag { struct 77 static inline struct mlx5_lag * argument 84 __mlx5_lag_is_active(struct mlx5_lag *ldev) in __mlx5_lag_is_active() 90 mlx5_lag_is_ready(struct mlx5_lag *ldev) in mlx5_lag_is_ready() 95 bool mlx5_lag_check_prereq(struct mlx5_lag *ldev); 96 void mlx5_modify_lag(struct mlx5_lag *ldev, 98 int mlx5_activate_lag(struct mlx5_lag *ldev, 102 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, 111 void mlx5_disable_lag(struct mlx5_lag *ldev); 112 void mlx5_lag_remove_devices(struct mlx5_lag *ldev); [all …]
|
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() 237 static void mlx5_ldev_put(struct mlx5_lag *ldev) in mlx5_ldev_put() 242 static void mlx5_ldev_get(struct mlx5_lag *ldev) in mlx5_ldev_get() 247 static struct mlx5_lag *mlx5_lag_dev_alloc(struct mlx5_core_dev *dev) in mlx5_lag_dev_alloc() 249 struct mlx5_lag *ldev; in mlx5_lag_dev_alloc() 284 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, in mlx5_lag_dev_get_netdev_idx() 296 static bool __mlx5_lag_is_roce(struct mlx5_lag *ldev) in __mlx5_lag_is_roce() 301 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 | mp.c | 12 static bool __mlx5_lag_is_multipath(struct mlx5_lag *ldev) in __mlx5_lag_is_multipath() 18 static bool mlx5_lag_multipath_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_multipath_check_prereq() 35 struct mlx5_lag *ldev = mlx5_lag_dev(dev); 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; 122 mlx5_lag_get_next_fib_dev(struct mlx5_lag *ldev, in mlx5_lag_get_next_fib_dev() 150 static void mlx5_lag_fib_route_event(struct mlx5_lag *ldev, unsigned long event, in mlx5_lag_fib_route_event() 211 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event() 240 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() 268 mlx5_lag_init_fib_work(struct mlx5_lag *ldev, unsigned long event) in mlx5_lag_init_fib_work() [all …]
|
D | mpesw.c | 11 static void mlx5_mpesw_metadata_cleanup(struct mlx5_lag *ldev) in mlx5_mpesw_metadata_cleanup() 32 static int mlx5_mpesw_metadata_set(struct mlx5_lag *ldev) in mlx5_mpesw_metadata_set() 69 static int enable_mpesw(struct mlx5_lag *ldev) in enable_mpesw() 121 static void disable_mpesw(struct mlx5_lag *ldev) in disable_mpesw() 133 struct mlx5_lag *ldev = mpesww->lag; in mlx5_mpesw_work() 159 struct mlx5_lag *ldev = mlx5_lag_dev(dev); in mlx5_lag_mpesw_queue_work() 201 struct mlx5_lag *ldev = mlx5_lag_dev(mdev); in mlx5_lag_mpesw_do_mirred() 215 struct mlx5_lag *ldev = mlx5_lag_dev(dev); in mlx5_lag_is_mpesw()
|
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() 295 mlx5_lag_create_definer(struct mlx5_lag *ldev, enum netdev_lag_hash hash, in mlx5_lag_create_definer() 341 static void mlx5_lag_destroy_definer(struct mlx5_lag *ldev, in mlx5_lag_destroy_definer() 361 static void mlx5_lag_destroy_definers(struct mlx5_lag *ldev) in mlx5_lag_destroy_definers() 376 static int mlx5_lag_create_definers(struct mlx5_lag *ldev, in mlx5_lag_create_definers() 453 static void mlx5_lag_set_inner_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_inner_ttc_params() 472 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() 513 static int mlx5_lag_create_inner_ttc_table(struct mlx5_lag *ldev) in mlx5_lag_create_inner_ttc_table() 524 int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, in mlx5_lag_port_sel_create() [all …]
|
D | mpesw.h | 22 struct mlx5_lag *lag;
|
/linux-6.12.1/include/linux/mlx5/ |
D | driver.h | 510 struct mlx5_lag; 627 struct mlx5_lag *lag;
|