brintos

brintos / linux-shallow public Read only

0
0
Text · 530 B · 7c06ec9 Raw
24 lines · c
1/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */2/*3 * Copyright (c) 2020 Mellanox Technologies. All rights reserved.4 */5 6#ifndef _RDMA_LAG_H_7#define _RDMA_LAG_H_8 9#include <net/lag.h>10 11struct ib_device;12struct rdma_ah_attr;13 14enum rdma_lag_flags {15	RDMA_LAG_FLAGS_HASH_ALL_SLAVES = 1 << 016};17 18void rdma_lag_put_ah_roce_slave(struct net_device *xmit_slave);19struct net_device *rdma_lag_get_ah_roce_slave(struct ib_device *device,20					      struct rdma_ah_attr *ah_attr,21					      gfp_t flags);22 23#endif /* _RDMA_LAG_H_ */24