diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-03-31 09:23:13 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-04 04:31:09 +0200 |
commit | 9f238486f5438b2e44f760b11fa3a08714c1ddb6 (patch) | |
tree | 4db457aaedba5c4af8f6b397ef34dcc46462bf7b /drivers/net/cxgb3/common.h | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff) | |
download | linux-9f238486f5438b2e44f760b11fa3a08714c1ddb6.tar.xz linux-9f238486f5438b2e44f760b11fa3a08714c1ddb6.zip |
cxgb3 - Safeguard TCAM size usage
Ensure that the TCAM active region size is at least 16.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r-- | drivers/net/cxgb3/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index 85e5543cfb57..38a0565ad1c1 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h @@ -358,6 +358,9 @@ enum { MC5_MODE_72_BIT = 2 }; +/* MC5 min active region size */ +enum { MC5_MIN_TIDS = 16 }; + struct vpd_params { unsigned int cclk; unsigned int mclk; |