diff options
author | Harsh Jain <harsh@chelsio.com> | 2017-04-10 18:24:00 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-21 20:30:34 +0800 |
commit | 72a56ca97dc163a7a10a654aab6635e30e781070 (patch) | |
tree | 34f12d90bcf9f029956878a6f672cd1cd86db8a1 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | |
parent | 0a7bd30c1b7fca5f1443f1bc2dfdc2681d315359 (diff) | |
download | linux-72a56ca97dc163a7a10a654aab6635e30e781070.tar.gz linux-72a56ca97dc163a7a10a654aab6635e30e781070.tar.bz2 linux-72a56ca97dc163a7a10a654aab6635e30e781070.zip |
crypto: chcr - Fix txq ids.
The patch fixes a critical issue to map txqid with flows on the hardware appropriately,
if tx queues created are more than flows configured then txqid shall map within
the range of hardware flows configured. This ensure that un-mapped txqid does not remain un-handled.
The patch also segregated the rxqid and txqid for clarity.
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Reviewed-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
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 4c856605fdfa..6e74040af49a 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h @@ -272,6 +272,7 @@ struct cxgb4_virt_res { /* virtualized HW resources */ struct cxgb4_range qp; struct cxgb4_range cq; struct cxgb4_range ocq; + unsigned int ncrypto_fc; }; #define OCQ_WIN_OFFSET(pdev, vres) \ |