]> 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)
commit3365e92f1112457a4bd61e84a108553a62ed21c7
treeeb6a1cdb2afbfa0139ffec9460a7681091fb3d29
parent8abdfcf41ccc77c39728214caf4a718f0acadf9c
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