mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-27 16:47:19 +00:00
NPC extraction profile marks layer types NPC_LT_LB_CTAG for CTAG and NPC_LT_LB_STAG_QINQ for STAG after parsing input packet. Those layer types can be used to install ntuple filters using vlan-etype option. Below are the commands and corresponding behavior with this patch in place. > alias nt "ethtool -U eth0 flow-type ether" > nt vlan 5 m 0xf000 action 0 Input packets with outer VLAN id as 5 i.e, stag packets with VLAN id 5 and ctag packets with VLAN id as 5 are hit. > nt vlan-etype 0x8100 action 0 All input ctag packets with any VLAN id are hit. > nt vlan-etype 0x88A8 action 0 All input stag packets with any VLAN id are hit. > nt vlan-etype 0x8100 vlan 5 m 0xf000 action 0 All input ctag packets with VLAN id 5 are hit. > nt vlan-etype 0x88A8 vlan 5 m 0xf000 action 0 All input stag packets with VLAN id 5 are hit. Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| cgx_fw_if.h | ||
| cgx.c | ||
| cgx.h | ||
| common.h | ||
| lmac_common.h | ||
| Makefile | ||
| mbox.c | ||
| mbox.h | ||
| npc_profile.h | ||
| npc.h | ||
| ptp.c | ||
| ptp.h | ||
| rpm.c | ||
| rpm.h | ||
| rvu_cgx.c | ||
| rvu_cn10k.c | ||
| rvu_cpt.c | ||
| rvu_debugfs.c | ||
| rvu_devlink.c | ||
| rvu_devlink.h | ||
| rvu_nix.c | ||
| rvu_npa.c | ||
| rvu_npc_fs.c | ||
| rvu_npc.c | ||
| rvu_reg.c | ||
| rvu_reg.h | ||
| rvu_sdp.c | ||
| rvu_struct.h | ||
| rvu_switch.c | ||
| rvu_trace.c | ||
| rvu_trace.h | ||
| rvu.c | ||
| rvu.h | ||