diff options
author | Hariprasad S | 2015-06-09 14:53:11 +0200 |
---|---|---|
committer | Doug Ledford | 2015-06-11 18:22:21 +0200 |
commit | 66cf188eba524e19f1d2bd654a9d656d7432db80 (patch) | |
tree | d72df790c5c039a1b6bad9674fd70f5ce9be15ee /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | Merge branch 'for-4.2-misc' into k.o/for-4.2 (diff) | |
download | kernel-qcow2-linux-66cf188eba524e19f1d2bd654a9d656d7432db80.tar.gz kernel-qcow2-linux-66cf188eba524e19f1d2bd654a9d656d7432db80.tar.xz kernel-qcow2-linux-66cf188eba524e19f1d2bd654a9d656d7432db80.zip |
cxgb4: Support for user mode bar2 mappings with T4
Enhance cxgb4_t4_bar2_sge_qregs() and cxgb4_bar2_sge_qregs() to support T4
user mode mappings. Update all the current users as well.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 524d11098c56..e052f05558c7 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -1185,6 +1185,7 @@ enum t4_bar2_qtype { T4_BAR2_QTYPE_EGRESS, T4_BAR2_QTYPE_INGRESS }; int cxgb4_t4_bar2_sge_qregs(struct adapter *adapter, unsigned int qid, enum t4_bar2_qtype qtype, + int user, u64 *pbar2_qoffset, unsigned int *pbar2_qid); |