aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2014-07-14 12:04:51 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-15 19:25:16 -0400
commit04e10e2164fcfa05e14eff3c2757a5097f11d258 (patch)
tree2212ddad781d45e0ca93165b4cefc48ac321b897 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
parent5ee2c941b5969eb1b5592f9731b3ee76a784641f (diff)
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_main.c')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 2b438bd68c73..a7ce996630ed 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@ -4109,6 +4109,8 @@ static void uld_attach(struct adapter *adap, unsigned int uld)
4109 lli.db_reg = adap->regs + MYPF_REG(SGE_PF_KDOORBELL); 4109 lli.db_reg = adap->regs + MYPF_REG(SGE_PF_KDOORBELL);
4110 lli.fw_vers = adap->params.fw_vers; 4110 lli.fw_vers = adap->params.fw_vers;
4111 lli.dbfifo_int_thresh = dbfifo_int_thresh; 4111 lli.dbfifo_int_thresh = dbfifo_int_thresh;
4112 lli.sge_ingpadboundary = adap->sge.fl_align;
4113 lli.sge_egrstatuspagesize = adap->sge.stat_len;
4112 lli.sge_pktshift = adap->sge.pktshift; 4114 lli.sge_pktshift = adap->sge.pktshift;
4113 lli.enable_fw_ofld_conn = adap->flags & FW_OFLD_CONN; 4115 lli.enable_fw_ofld_conn = adap->flags & FW_OFLD_CONN;
4114 lli.ulptx_memwrite_dsgl = adap->params.ulptx_memwrite_dsgl; 4116 lli.ulptx_memwrite_dsgl = adap->params.ulptx_memwrite_dsgl;