cxgb4: zero the HMA memory
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 9 May 2018 13:10:09 +0000 (18:40 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 20:02:06 +0000 (16:02 -0400)
commit2b928749f9ba781085442d1f8832f057cbf458a1
treecc24b9383fe97f7ea9b61385601128a8971c19e1
parent69678bcd4d2dedbc3e8fcd6d7d99f283d83c531a
cxgb4: zero the HMA memory

firmware expects HMA memory to be zeroed, use __GFP_ZERO
for HMA memory allocation.

Fixes: 8b4e6b3ca2ed ("cxgb4: Add HMA support")
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c