]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Add the __GFP_NOWARN flag to Rx buffer allocation
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 29 Jun 2015 16:22:12 +0000 (11:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2015 16:27:03 +0000 (09:27 -0700)
commitf5166c2852b914318c4e9a9f7851e109207da408
tree450db7d0b0d35057643d9e9714d8902bf55cfcf8
parent028743d7e8367e79f70074444af8b53d73c5136c
amd-xgbe: Add the __GFP_NOWARN flag to Rx buffer allocation

When allocating Rx related buffers, alloc_pages is called using an order
number that is decreased until successful. A system under stress can
experience failures during this allocation process resulting in a warning
being issued. This message can be of concern to end users even though the
failure is not fatal. Since the failure is not fatal and can occur
multiple times, the driver should include the __GFP_NOWARN flag to
suppress the warning message from being issued.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-desc.c