diff options
| author | Willem de Bruijn <[email protected]> | 2016-02-03 18:02:14 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-09 06:43:50 -0500 |
| commit | 16cc1400456a4d5d6df9f5e7f1b2c7cb8c50404b (patch) | |
| tree | 50bc54692d82a05713077b7bd626f792122daf80 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 5ee14e6d336f1daacf5ba73e831029c5ab7ae329 (diff) | |
packet: move vnet_hdr code to helper functions
packet_snd and packet_rcv support virtio net headers for GSO.
Move this logic into helper functions to be able to reuse it in
tpacket_snd and tpacket_rcv.
This is a straighforward code move with one exception. Instead of
creating and passing a separate gso_type variable, reuse
vnet_hdr.gso_type after conversion from virtio to kernel gso type.
Signed-off-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions