aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2018-01-25 13:20:09 -0800
committerDavid S. Miller <davem@davemloft.net>2018-01-25 21:39:43 -0500
commitc69de58ba84f480879de64571d9dae5102d10ed6 (patch)
treed8ba38bd0c49bc0409b91cc6583808ad4e171242 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'use-tc_cls_can_offload_and_chain0-throughout-the-drivers' (diff)
downloadlinux-dev-c69de58ba84f480879de64571d9dae5102d10ed6.tar.xz
linux-dev-c69de58ba84f480879de64571d9dae5102d10ed6.zip
net: erspan: use bitfield instead of mask and offset
Originally the erspan fields are defined as a group into a __be16 field, and use mask and offset to access each field. This is more costly due to calling ntohs/htons. The patch changes it to use bitfields. Signed-off-by: William Tu <u9012063@gmail.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> 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