diff options
author | Paolo Abeni <pabeni@redhat.com> | 2016-02-26 09:45:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 20:54:31 (GMT) |
commit | 163e529200af7b7521fbde5dbcc653cf3ce597df (patch) | |
tree | 2530b68faffa4a6cb301fb71c64cab0ee69f3747 /net/bluetooth/smp.c | |
parent | eaea34b23c46bf17b4a5638be69ab3561854f34b (diff) | |
download | linux-163e529200af7b7521fbde5dbcc653cf3ce597df.tar.xz |
veth: implement ndo_set_rx_headroom
The rx headroom for veth dev is the peer device needed_headroom.
Avoid ping-pong updates setting the private flag IFF_PHONY_HEADROOM.
This avoids skb head reallocation when forwarding from a veth dev
towards a device adding some kind of encapsulation.
When transmitting frames below the MTU size towards a vxlan device,
this gives about 10% performance speed-up when OVS is used to connect
the veth and the vxlan device and a little more when using a
plain Linux bridge.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions