]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: allocate mac filtering pending list in PAGE_SIZE increments
authorJason Baron <jbaron@akamai.com>
Thu, 22 Sep 2016 21:12:26 +0000 (17:12 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 02:03:27 +0000 (18:03 -0800)
commit9e58f19a917e02aed7f18b6fd8dec5fff9169329
tree0ebfdfe1c031caa838505a02dcdb53fd8fc98b99
parent6db38df2a43224e4073f68003f16aa811b98f58e
bnx2x: allocate mac filtering pending list in PAGE_SIZE increments

Orabug: 25477835

Currently, we can have high order page allocations that specify
GFP_ATOMIC when configuring multicast MAC address filters.

For example, we have seen order 2 page allocation failures with
~500 multicast addresses configured.

Convert the allocation for the pending list to be done in PAGE_SIZE
increments.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Cc: Yuval Mintz <Yuval.Mintz@qlogic.com>
Cc: Ariel Elior <Ariel.Elior@qlogic.com>
Acked-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 3129e1599c6edfafc2a0a8be9f2eb344c7feb920)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c