Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c105 struct mlx5_lag *ldev = container_of(ref, struct mlx5_lag, ref); in mlx5_ldev_free()
115 static void mlx5_ldev_put(struct mlx5_lag *ldev) in mlx5_ldev_put()
120 static void mlx5_ldev_get(struct mlx5_lag *ldev) in mlx5_ldev_get()
125 static struct mlx5_lag *mlx5_lag_dev_alloc(struct mlx5_core_dev *dev) in mlx5_lag_dev_alloc()
127 struct mlx5_lag *ldev; in mlx5_lag_dev_alloc()
157 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, in mlx5_lag_dev_get_netdev_idx()
169 static bool __mlx5_lag_is_roce(struct mlx5_lag *ldev) in __mlx5_lag_is_roce()
174 static bool __mlx5_lag_is_sriov(struct mlx5_lag *ldev) in __mlx5_lag_is_sriov()
202 void mlx5_modify_lag(struct mlx5_lag *ldev, in mlx5_modify_lag()
229 static int mlx5_create_lag(struct mlx5_lag *ldev, in mlx5_create_lag()
[all …]
Dlag_mp.h24 void mlx5_lag_mp_reset(struct mlx5_lag *ldev);
25 int mlx5_lag_mp_init(struct mlx5_lag *ldev);
26 void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev);
31 static inline void mlx5_lag_mp_reset(struct mlx5_lag *ldev) {}; in mlx5_lag_mp_reset()
32 static inline int mlx5_lag_mp_init(struct mlx5_lag *ldev) { return 0; } in mlx5_lag_mp_init()
33 static inline void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mp_cleanup()
Dlag.h40 struct mlx5_lag { struct
54 static inline struct mlx5_lag * argument
61 __mlx5_lag_is_active(struct mlx5_lag *ldev) in __mlx5_lag_is_active()
67 mlx5_lag_is_ready(struct mlx5_lag *ldev) in mlx5_lag_is_ready()
72 void mlx5_modify_lag(struct mlx5_lag *ldev,
74 int mlx5_activate_lag(struct mlx5_lag *ldev,
78 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev,
Dlag_mp.c12 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()
105 struct mlx5_lag *ldev;
113 static void mlx5_lag_fib_route_event(struct mlx5_lag *ldev, in mlx5_lag_fib_route_event()
174 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event()
203 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update()
231 mlx5_lag_init_fib_work(struct mlx5_lag *ldev, unsigned long event) in mlx5_lag_init_fib_work()
251 struct mlx5_lag *ldev = container_of(mp, struct mlx5_lag, lag_mp); in mlx5_lag_fib_event()
[all …]
/Linux-v5.15/include/linux/mlx5/
Ddriver.h502 struct mlx5_lag;
603 struct mlx5_lag *lag;