]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx4-order-0-allocations-and-page-recycling'
authorDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 17:54:48 +0000 (09:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 17:54:48 +0000 (09:54 -0800)
commit22c53bc74d35c4c93a32f439c2d0b493d63655ba
tree85fddbaa488ecfc07e254c103b6a28db8dd78351
parentac459a6e7dd327bb416c57c37db0984c4a18b6d4
parenta65d436bbe775cf685025527fb13e44b9b05b2f9
Merge branch 'mlx4-order-0-allocations-and-page-recycling'

Eric Dumazet says:

====================
mlx4: order-0 allocations and page recycling

As mentioned half a year ago, we better switch mlx4 driver to order-0
allocations and page recycling.

This reduces vulnerability surface thanks to better skb->truesize
tracking and provides better performance in most cases.
(33 Gbit for one TCP flow on my lab hosts)

I will provide for linux-4.13 a patch on top of this series,
trying to improve data locality as described in
https://www.spinics.net/lists/netdev/msg422258.html

v2 provides an ethtool -S new counter (rx_alloc_pages) and
code factorization, plus Tariq fix.

v3 includes various fixes based on Tariq tests and feedback
from Saeed and Tariq.

v4 rebased on net-next for inclusion in linux-4.12, as requested
by Tariq.

Worth noting this patch series deletes ~250 lines of code ;)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>