diff options
author | 2018-01-25 13:20:09 -0800 | |
---|---|---|
committer | 2018-01-25 21:39:43 -0500 | |
commit | c69de58ba84f480879de64571d9dae5102d10ed6 (patch) | |
tree | d8ba38bd0c49bc0409b91cc6583808ad4e171242 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'use-tc_cls_can_offload_and_chain0-throughout-the-drivers' (diff) | |
download | linux-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