diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2015-06-09 15:53:11 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-06-11 19:22:21 +0300 |
commit | 66cf188eba524e19f1d2bd654a9d656d7432db80 (patch) | |
tree | d72df790c5c039a1b6bad9674fd70f5ce9be15ee /drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | |
parent | 0699ee7ad7da8bde59d9cf13a50da95e1931e61d (diff) | |
download | linux-66cf188eba524e19f1d2bd654a9d656d7432db80.tar.xz |
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_uld.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h index 78ab4d406ce2..e33934a6f59e 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h @@ -306,6 +306,7 @@ enum cxgb4_bar2_qtype { CXGB4_BAR2_QTYPE_EGRESS, CXGB4_BAR2_QTYPE_INGRESS }; int cxgb4_bar2_sge_qregs(struct net_device *dev, unsigned int qid, enum cxgb4_bar2_qtype qtype, + int user, u64 *pbar2_qoffset, unsigned int *pbar2_qid); |