]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Don't use entire L2T table, use only its slice
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 7 Jul 2015 16:19:18 +0000 (21:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2015 23:13:54 +0000 (16:13 -0700)
commit6c50dc0b908a032b09573a830a06963e43f44f10
tree9762e2a1df79777637551c92a7f813e8b74cd339
parent1a1d1dde2c72d9d9f108f2e35b995272175d57ab
cxgb4: Don't use entire L2T table, use only its slice

The driver was retrieving the parameters for the bounds of its
slice of the L2T from the firmware and then throwing those away and
using the entire table. This corrects that problem.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/l2t.c
drivers/net/ethernet/chelsio/cxgb4/l2t.h
drivers/net/ethernet/chelsio/cxgb4/t4_hw.h