]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Pre-allocate DMA buffer used for minidump collection
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Wed, 11 Jun 2014 18:09:11 +0000 (14:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 22:44:29 +0000 (15:44 -0700)
commitf4d96aa023b802f8196e11429776d9c0f553257d
treeeb6a1cdb2afbfa0139ffec9460a7681091fb3d29
parent9b1b6643467148c7f42d125d8537750c9c2c224c
qlcnic: Pre-allocate DMA buffer used for minidump collection

Pre-allocate the physically contiguous DMA buffer used for
minidump collection at driver load time, rather than at
run time, to minimize allocation failures. Driver will allocate
the buffer at load time if PEX DMA support capability is indicated
by the adapter.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c