aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2015-07-07 21:49:18 +0530
committerDavid S. Miller <davem@davemloft.net>2015-07-08 16:13:54 -0700
commit5be9ed8d49754c22fffd8ddd9cb751d591f31a08 (patch)
tree9762e2a1df79777637551c92a7f813e8b74cd339 /drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
parentnet: ec_bhf: Use module_pci_driver (diff)
downloadlinux-dev-5be9ed8d49754c22fffd8ddd9cb751d591f31a08.tar.xz
linux-dev-5be9ed8d49754c22fffd8ddd9cb751d591f31a08.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/t4_hw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
index c8488f430d19..640369df8b3a 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
@@ -47,7 +47,6 @@ enum {
TCB_SIZE = 128, /* TCB size */
NMTUS = 16, /* size of MTU table */
NCCTRL_WIN = 32, /* # of congestion control windows */
- L2T_SIZE = 4096, /* # of L2T entries */
PM_NSTATS = 5, /* # of PM stats */
MBOX_LEN = 64, /* mailbox size in bytes */
TRACE_LEN = 112, /* length of trace data and mask */