libcxgb4.h (273806) | libcxgb4.h (297124) |
---|---|
1/* 2 * Copyright (c) 2006-2014 Chelsio, 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: --- 55 unchanged lines hidden (view full) --- 64 int abi_version; 65}; 66 67static inline int dev_is_t5(struct c4iw_dev *dev) 68{ 69 return dev->chip_version == CHELSIO_T5; 70} 71 | 1/* 2 * Copyright (c) 2006-2014 Chelsio, 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: --- 55 unchanged lines hidden (view full) --- 64 int abi_version; 65}; 66 67static inline int dev_is_t5(struct c4iw_dev *dev) 68{ 69 return dev->chip_version == CHELSIO_T5; 70} 71 |
72static inline int dev_is_t4(struct c4iw_dev *dev) 73{ 74 return dev->chip_version == CHELSIO_T4; 75} 76 |
|
72struct c4iw_context { 73 struct ibv_context ibv_ctx; 74 struct t4_dev_status_page *status_page; 75 int status_page_size; 76}; 77 78struct c4iw_pd { 79 struct ibv_pd ibv_pd; --- 178 unchanged lines hidden --- | 77struct c4iw_context { 78 struct ibv_context ibv_ctx; 79 struct t4_dev_status_page *status_page; 80 int status_page_size; 81}; 82 83struct c4iw_pd { 84 struct ibv_pd ibv_pd; --- 178 unchanged lines hidden --- |