OSDN Git Service

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)
commit2391b0030e241386d710df10e53e2cfc3c5d4fc1
tree86ccd357632c58b53bf225c52ab066f569882188
parente8bd8fca6773ef49390269bd467bf940a0841ccf
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