[ovs-git] [openvswitch/ovs] 0b0a84: netdev-tc-offloads: Support match on priority tags

Simon Horman noreply at github.com
Mon Jun 3 14:40:28 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0b0a84783cd6048ca3d35af0f5b4652cecd34358
  Author: Eli Britstein <elibr at mellanox.com>
  Date:   2019-06-03 (Mon, 03 Jun 2019)

  Changed paths:
    M lib/netdev-tc-offloads.c

  Log Message:
  netdev-tc-offloads: Support match on priority tags

The logic by which a TC rule has a VLAN match is by the VLAN TCI field,
either the VID, PCP or CFI are non-zero. For priority-tag packets
there is a VLAN tag header with a zero VLAN TCI. Match on existence of
VLAN header (TPID) regardless of TCI matching.

Signed-off-by: Eli Britstein <elibr at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>

More information about the git mailing list