summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2018-05-19 05:41:01 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-21 01:31:42 +0300
commitd48f1958ab7d9fb896d86f0241f0dc83dc3a63de (patch)
tree2bf1ebe8dd0881b30d836443f76f0ca712d6978a /tools/perf/scripts/python/export-to-sqlite.py
parent2c71ab4bb465c79a4687cc2fd5012e470aebdb1f (diff)
downloadlinux-d48f1958ab7d9fb896d86f0241f0dc83dc3a63de.tar.xz
erspan: set bso bit based on mirrored packet's len
Before the patch, the erspan BSO bit (Bad/Short/Oversized) is not handled. BSO has 4 possible values: 00 --> Good frame with no error, or unknown integrity 11 --> Payload is a Bad Frame with CRC or Alignment Error 01 --> Payload is a Short Frame 10 --> Payload is an Oversized Frame Based the short/oversized definitions in RFC1757, the patch sets the bso bit based on the mirrored packet's size. Reported-by: Xiaoyan Jin <xiaoyanj@vmware.com> Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions