]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2016 13:43:06 +0000 (09:43 -0400)
commit4df123bafc7c1092d4c3e3a1dedfab538e668941
tree48ea93455bc0ee13261a953028a0c1db473a25c6
parentb86f3b8790d7080cd2422d44b8a706cc35f08dab
bnx2x: allocate mac filtering pending list in PAGE_SIZE increments

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c