diff options
author | Mahesh Bandewar <[email protected]> | 2019-07-01 14:38:49 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-01 19:34:46 -0700 |
commit | 4de83b88c66a1e4dba426b29766fb68e61d93792 (patch) | |
tree | f75dc32c4268c3622da3173a812eb542490e0536 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 8909783cb5b719e05c17e62529efb97c564b2e26 (diff) |
loopback: create blackhole net device similar to loopack.
Create a blackhole net device that can be used for "dead"
dst entries instead of loopback device. This blackhole device differs
from loopback in few aspects: (a) It's not per-ns. (b) MTU on this
device is ETH_MIN_MTU (c) The xmit function is essentially kfree_skb().
and (d) since it's not registered it won't have ifindex.
Lower MTU effectively make the device not pass the MTU check during
the route check when a dst associated with the skb is dead.
Signed-off-by: Mahesh Bandewar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions