ah.c (b090c4e3a07c33ffdf95fb7601551b38fc2a4bbb) ah.c (2553ba217eea37dc6291635ecddb883fb5c36a8b)
1/*
2 * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 236 unchanged lines hidden (view full) ---

245 ah->av.ib.hop_limit,
246 tc_fl >> 20);
247 rdma_ah_set_dgid_raw(ah_attr, ah->av.ib.dgid);
248 }
249
250 return 0;
251}
252
1/*
2 * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 236 unchanged lines hidden (view full) ---

245 ah->av.ib.hop_limit,
246 tc_fl >> 20);
247 rdma_ah_set_dgid_raw(ah_attr, ah->av.ib.dgid);
248 }
249
250 return 0;
251}
252
253int mlx4_ib_destroy_ah(struct ib_ah *ah)
253int mlx4_ib_destroy_ah(struct ib_ah *ah, u32 flags)
254{
255 kfree(to_mah(ah));
256 return 0;
257}
254{
255 kfree(to_mah(ah));
256 return 0;
257}