aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2019-04-14 09:47:35 +0800
committerDavid S. Miller <[email protected]>2019-04-14 13:47:34 -0700
commit741fca1667ea90f6c9a1393d3c1a3e4f9eae3fc7 (patch)
treec8cd3f2101d7bfc85f2f2bfdb5e6f78600b74e58 /tools/perf/scripts/python/syscall-counts.py
parent81f2eeb370749631f70532ac9da2a41eaf27fc26 (diff)
net: hns3: modify VLAN initialization to be compatible with port based VLAN
Our hardware supports inserting a specified VLAN header for each function when sending packets. User can enable it with command "ip link set <devname> vf <vfid> vlan <vlan id>". For this VLAN header is inserted by hardware, not from stack, hardware also needs to strip it from received packets before sending to stack. In this case, driver needs to tell hardware which VLAN to insert or strip. The current VLAN initialization doesn't allow inserting VLAN header by hardware, this patch modifies it, in order be compatible with VLAN inserted base on port. Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions