diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-07-14 21:34:51 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-15 16:25:16 -0700 |
commit | 04e10e2164fcfa05e14eff3c2757a5097f11d258 (patch) | |
tree | 2212ddad781d45e0ca93165b4cefc48ac321b897 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | |
parent | 5ee2c941b5969eb1b5592f9731b3ee76a784641f (diff) | |
download | linux-04e10e2164fcfa05e14eff3c2757a5097f11d258.tar.gz linux-04e10e2164fcfa05e14eff3c2757a5097f11d258.tar.bz2 linux-04e10e2164fcfa05e14eff3c2757a5097f11d258.zip |
iw_cxgb4: Detect Ing. Padding Boundary at run-time
Updates iw_cxgb4 to determine the Ingress Padding Boundary from
cxgb4_lld_info, and take subsequent actions.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h index 8f60851b75ad..962458f5d5b3 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h @@ -251,6 +251,8 @@ struct cxgb4_lld_info { void __iomem *gts_reg; /* address of GTS register */ void __iomem *db_reg; /* address of kernel doorbell */ int dbfifo_int_thresh; /* doorbell fifo int threshold */ + unsigned int sge_ingpadboundary; /* SGE ingress padding boundary */ + unsigned int sge_egrstatuspagesize; /* SGE egress status page size */ unsigned int sge_pktshift; /* Padding between CPL and */ /* packet data */ unsigned int pf; /* Physical Function we're using */ |