]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit682f2aade1f22c5fab0c91e659a97ae45a3c5785
tree05b36fb0e2c5a0e58586b4f6dbfb79e816f38aa1
parentdf44725d68e4ab99c8230467f42193cd59d32fa9
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 "ef1f054 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