]> 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)
commit0b082a7cce88ce8dcb4e971eb81175649938693b
tree86ccd357632c58b53bf225c52ab066f569882188
parent72102cd91ff2f0bdf3ff162a1605098ad5700fb5
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