drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
[drm/drm-misc.git] / include / rdma / lag.h
blob7c06ec9b2eefd76ffd3dcb2ef8b91687c1080adc
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /*
3 * Copyright (c) 2020 Mellanox Technologies. All rights reserved.
4 */
6 #ifndef _RDMA_LAG_H_
7 #define _RDMA_LAG_H_
9 #include <net/lag.h>
11 struct ib_device;
12 struct rdma_ah_attr;
14 enum rdma_lag_flags {
15 RDMA_LAG_FLAGS_HASH_ALL_SLAVES = 1 << 0
18 void rdma_lag_put_ah_roce_slave(struct net_device *xmit_slave);
19 struct net_device *rdma_lag_get_ah_roce_slave(struct ib_device *device,
20 struct rdma_ah_attr *ah_attr,
21 gfp_t flags);
23 #endif /* _RDMA_LAG_H_ */