diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-11-07 14:36:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-10 22:15:03 +0300 |
commit | ce8f407a3cc7fc58804b9135e7c8780f0f8c2a8d (patch) | |
tree | adaef931f4064d2969ca78d987dccace85607d3a /drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h | |
parent | 65f6ecc93e7cca888a96a68cf6b5292dff1982b6 (diff) | |
download | linux-ce8f407a3cc7fc58804b9135e7c8780f0f8c2a8d.tar.xz |
cxgb4/cxgb4vf: For T5 use Packing and Padding Boundaries for SGE DMA transfers
T5 introduces the ability to have separate Packing and Padding Boundaries
for SGE DMA transfers from the chip to Host Memory. This change set takes
advantage of that to set up a smaller Padding Boundary to conserve PCI Link
and Memory Bandwidth with T5.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h index 95df61dcb4ce..b5c301d9565e 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h +++ b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h @@ -134,6 +134,7 @@ struct dev_params { */ struct sge_params { u32 sge_control; /* padding, boundaries, lengths, etc. */ + u32 sge_control2; /* T5: more of the same */ u32 sge_host_page_size; /* RDMA page sizes */ u32 sge_queues_per_page; /* RDMA queues/page */ u32 sge_user_mode_limits; /* limits for BAR2 user mode accesses */ |