]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit3f2aa566d4c991988d6acec98a0e1978e915f43b
tree85fddbaa488ecfc07e254c103b6a28db8dd78351
parent3c66d1c7ed4131bbaea128803cfa247defa2c376
parent68b8df464406e39925a54955294d5994df46bcf4
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>