]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Remove SGE_HOST_PAGE_SIZE dependency on page size
authorArjun Vynipadath <arjun@chelsio.com>
Fri, 16 Nov 2018 03:45:42 +0000 (09:15 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 04:36:25 +0000 (20:36 -0800)
commit4d51881353ab5382563ca5b5cfdea1320545fe68
tree86ccd357632c58b53bf225c52ab066f569882188
parentba11c7171e6a39ab9acbf5b00ca0401d40d86d4b
cxgb4: Remove SGE_HOST_PAGE_SIZE dependency on page size

The SGE Host Page Size has nothing to do with the actual
Host Page Size. It's the SGE's BAR2 Doorbell/GTS Page Size
for interpreting the SGE Ingress/Egress Queue per Page values.
Firmware reads all of these things and makes all the
subsequent changes necessary. The Host Driver uses the SGE
Host Page Size in order to properly calculate BAR2 Offsets.

Signed-off-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/cxgb4/t4_hw.c