diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-05-27 04:08:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-28 04:41:49 (GMT) |
commit | 868001946e39627ec439921eeb0f5fa020e1e31d (patch) | |
tree | 2be31acf1b1faf5f958cee715b57390541ffbfc4 /lib/radix-tree.c | |
parent | 70ca5d746cf0c16576cee43fea6a19116ab49d9c (diff) | |
download | linux-fsl-qoriq-868001946e39627ec439921eeb0f5fa020e1e31d.tar.xz |
bnx2x: Count number of possible FCoE interfaces
Commit 0eb43b4bb081a1a22574daab9c05286a600dd7fe
"bnx2x, bnx2fc: Use per port max exchange resources" has changed the number
of available FCoE exchanges, even in scenarios when some of the functions has
no FCoE support; This needlessly degraded the available resources.
Remedy this by calculating the maximal number of functions that may actually
utilize said connection.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
CC: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions