Home
last modified time | relevance | path

Searched refs:mlx5_lag (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c121 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, in mlx5_lag_dev_get_netdev_idx()
133 static bool __mlx5_lag_is_roce(struct mlx5_lag *ldev) in __mlx5_lag_is_roce()
138 static bool __mlx5_lag_is_sriov(struct mlx5_lag *ldev) in __mlx5_lag_is_sriov()
159 void mlx5_modify_lag(struct mlx5_lag *ldev, in mlx5_modify_lag()
185 static int mlx5_create_lag(struct mlx5_lag *ldev, in mlx5_create_lag()
205 int mlx5_activate_lag(struct mlx5_lag *ldev, in mlx5_activate_lag()
230 static int mlx5_deactivate_lag(struct mlx5_lag *ldev) in mlx5_deactivate_lag()
253 static bool mlx5_lag_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_check_prereq()
266 static void mlx5_lag_add_ib_devices(struct mlx5_lag *ldev) in mlx5_lag_add_ib_devices()
276 static void mlx5_lag_remove_ib_devices(struct mlx5_lag *ldev) in mlx5_lag_remove_ib_devices()
[all …]
Dlag.h34 struct mlx5_lag { struct
45 static inline struct mlx5_lag * argument
52 __mlx5_lag_is_active(struct mlx5_lag *ldev) in __mlx5_lag_is_active()
57 void mlx5_modify_lag(struct mlx5_lag *ldev,
59 int mlx5_activate_lag(struct mlx5_lag *ldev,
62 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev,
Dlag_mp.c12 static bool mlx5_lag_multipath_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_multipath_check_prereq()
20 static bool __mlx5_lag_is_multipath(struct mlx5_lag *ldev) in __mlx5_lag_is_multipath()
27 struct mlx5_lag *ldev; in mlx5_lag_is_multipath()
46 static void mlx5_lag_set_port_affinity(struct mlx5_lag *ldev, int port) in mlx5_lag_set_port_affinity()
94 struct mlx5_lag *ldev = container_of(mp, struct mlx5_lag, lag_mp); in mlx5_lag_fib_event_flush()
101 struct mlx5_lag *ldev;
109 static void mlx5_lag_fib_route_event(struct mlx5_lag *ldev, in mlx5_lag_fib_route_event()
164 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event()
193 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update()
223 mlx5_lag_init_fib_work(struct mlx5_lag *ldev, unsigned long event) in mlx5_lag_init_fib_work()
[all …]
Dlag_mp.h17 int mlx5_lag_mp_init(struct mlx5_lag *ldev);
18 void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev);
22 static inline int mlx5_lag_mp_init(struct mlx5_lag *ldev) { return 0; } in mlx5_lag_mp_init()
23 static inline void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mp_cleanup()
/Linux-v5.4/include/linux/mlx5/
Ddriver.h502 struct mlx5_lag;
584 struct mlx5_lag *lag;