]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fixes resource allocation for ULD's in kdump kernel
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 17 Aug 2016 08:39:28 +0000 (14:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:06:44 +0000 (23:06 -0700)
commit82c26cda93ec77e01aec74a270350dc59cd8372b
tree7684a6b07149700c723c360030bf14aef66c7242
parent639876a425bd01f3df2552e0aeaa4aea038d7eba
cxgb4: Fixes resource allocation for ULD's in kdump kernel

At present the code to check in kdump kernel was not disabling
allocation of resources when CONFIG_CHELSIO_T4_DCB is defined, move the
code outside #defines so that it gets disabled irrespective of #define,
when in kdump kernel.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c