]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cxgb4: Fix initialization of SGE_CONTROL register
authorVipul Pandya <vipul@chelsio.com>
Wed, 7 Nov 2012 03:45:46 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2012 00:02:19 +0000 (19:02 -0500)
commit0dad9e94bdb1e424c4feeed715dff2fe51528289
tree502cb3ea0a9d3f6c93763720c257adaeb504fb34
parent7fd78edc470d968daacfb472226bc021081196bd
cxgb4: Fix initialization of SGE_CONTROL register

INGPADBOUNDARY_MASK is already shifted. No need to shift it again. On reloading
a driver it was resulting in a bad SGE FL MTU sizes [1536, 9088] error. This
only causes an issue on systems that have L1 cache size of 32B, 128B, 512B,
2048B or 4096B.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c