cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
authorArjun Vynipadath <arjun@chelsio.com>
Wed, 10 Jan 2018 06:32:13 +0000 (12:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:53:58 +0000 (15:53 -0500)
commitea0a42109aee7b92e631c4eb3f2219fadf58acdd
tree05b36fb0e2c5a0e58586b4f6dbfb79e816f38aa1
parent1125b008711581a8962ee028e2982d7757093600
cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages

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. This was already fixed in
cxgb4 driver with "92ddcc7 cxgb4: Fix some small bugs in
t4_sge_init_soft() when our Page Size is 64KB".

Original Work by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/sge.c