summaryrefslogtreecommitdiffstats
path: root/firmware/README.AddingFirmware
diff options
context:
space:
mode:
authorYuval Mintz <yuvalmin@broadcom.com>2013-01-10 04:53:39 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-10 14:28:26 -0800
commit4864a16ae69dd651147aa72584d20d2c24536712 (patch)
tree7ab6929cdf81cb85c5df04285b096b1aed6cb460 /firmware/README.AddingFirmware
parentec82f94c7cfa7451b487cbda95f92f3c7a78afd8 (diff)
downloadblackbird-op-linux-4864a16ae69dd651147aa72584d20d2c24536712.tar.gz
blackbird-op-linux-4864a16ae69dd651147aa72584d20d2c24536712.zip
bnx2x: Fix fastpath structures when memory allocation fails
When allocating Tx queues, if for some reason (e.g., lack of memory) allocation fails, driver will incorrectly calculate the pointers of the various queues. This patch repositions all pointers in such a case to point at sequential structures in memory, allowing the bnx2x macros to be used correctly when accessing them. 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 'firmware/README.AddingFirmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud