cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

lag.h (530B)


      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 << 0
     16};
     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_ */