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)
commit3a927bc7cf9d0fbe8f4a8189dd5f8440228f64e7
tree31a903a08d2f40e2c2026ef955be2d86bdecf777
parent45493d47c3db862263583400c1f721f13f2a0610
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