cxgb4: Fix some small bugs in t4_sge_init_soft() when our Page Size is 64KB
authorKumar Sanghvi <kumaras@chelsio.com>
Thu, 13 Mar 2014 15:20:46 +0000 (20:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Mar 2014 18:36:05 +0000 (14:36 -0400)
commit92ddcc7b8f1c14aa9f3ec98b14bcd421b21b01e4
tree0a9e2b936dcf308593ea98607d9383f519f78113
parent433131ba03c511a84e1fda5669c70cf8b44702e1
cxgb4: Fix some small bugs in t4_sge_init_soft() when our Page Size is 64KB

We'd come in with SGE_FL_BUFFER_SIZE[0] and [1] both equal to 64KB and the
extant logic would flag that as an error.

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c