summaryrefslogtreecommitdiffstats
path: root/drivers/tc
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-06-24 14:58:37 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-25 20:37:18 -0700
commit520efdf44f0140eef9018518fdae5edfc86f3b6c (patch)
tree88e5e9bce57401ebfcc3d1ac9dec9c1af10d1d82 /drivers/tc
parent39c9cf07077146b14ab077a0e27c869c6f0e6199 (diff)
downloadop-kernel-dev-520efdf44f0140eef9018518fdae5edfc86f3b6c.zip
op-kernel-dev-520efdf44f0140eef9018518fdae5edfc86f3b6c.tar.gz
cnic: Fine-tune CID memory space calculation.
The current code makes assumptions about the CID (context ID) memory space and starting CID that may not be always correct when firmware changes. In particular, BNX2_ISCSI_START_CID may not always be fixed. We now calculate cp->max_cid_space and cp->iscsi_start_cid dynamically instead of using fixed constants. The unused cp->max_iscsi_conn is also eliminated. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud