diff options
author | 2013-11-15 06:18:50 +0100 | |
---|---|---|
committer | 2013-11-15 17:55:48 -0500 | |
commit | 529d04895446f02449077a4ff49185b593283e19 (patch) | |
tree | 6f19d2911b09276a4f69f13e99272321024417f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | macvlan: introduce macvlan_dev_real_dev() helper function (diff) | |
download | linux-dev-529d04895446f02449077a4ff49185b593283e19.tar.xz linux-dev-529d04895446f02449077a4ff49185b593283e19.zip |
macvlan: disable LRO on lower device instead of macvlan
A macvlan device has always LRO disabled so that calling
dev_disable_lro() on it does nothing. If we need to disable LRO
e.g. because
- the macvlan device is inserted into a bridge
- IPv6 forwarding is enabled for it
- it is in a different namespace than lowerdev and IPv4
forwarding is enabled in it
we need to disable LRO on its underlying device instead (as we
do for 802.1q VLAN devices).
v2: use newly introduced netif_is_macvlan()
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions