]> 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)
commit0c60b0ed9164c1b81d32db9c344afa58a64e7030
tree31a903a08d2f40e2c2026ef955be2d86bdecf777
parent6bd6e86396b6372ef7705f10bf9f15cb97f9fe74
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