]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: vrf: Update flags and features settings
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 14 Jun 2016 00:14:12 +0000 (17:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 21:03:48 +0000 (14:03 -0700)
commit7889681f4a6c2148e1245604bac751a1cae8f882
tree699152a0f30683a142af8f221c61b1d71b66e44f
parentdf10db98ab546e899b79d1b2b8a00a86fe8bb29d
net: vrf: Update flags and features settings

1. Default VRF devices to not having a qdisc (IFF_NO_QUEUE). Users
   can add one as desired.

2. Disable adding a VLAN to a VRF device.

3. Enable offloads and hardware features similar to other logical
   devices (e.g., dummy, veth)

Change provides a significant boost in TCP stream Tx performance,
from ~2,700 Mbps to ~18,100 Mbps and makes throughput close to the
performance without a VRF (18,500 Mbps). netperf TCP_STREAM benchmark
using qemu with virtio+vhost for the NICs

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c