]> git.baikalelectronics.ru Git - kernel.git/commit
ovs: propagate per dp max headroom to all vports
authorPaolo Abeni <pabeni@redhat.com>
Fri, 26 Feb 2016 09:45:39 +0000 (10:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 20:54:30 +0000 (15:54 -0500)
commitba8720efad03a241c2721f6d61b523413bd8984b
tree31a903a08d2f40e2c2026ef955be2d86bdecf777
parent7cfb55cdb37305c3c3195e73b65d4dc2d108d15a
ovs: propagate per dp max headroom to all vports

This patch implements bookkeeping support to compute the maximum
headroom for all the devices in each datapath. When said value
changes, the underlying devs are notified via the
ndo_set_rx_headroom method.

This also increases the internal vports xmit performance.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/vport-internal_dev.c