HomeFreeBSD

sfxge(4): distinguish filters for encapsulated packets

Description

sfxge(4): distinguish filters for encapsulated packets

Add filter match flag to distinguish filters applied only to
encapsulated packets.

Match flags set should allow to determine whether a filter
is supported or not. The problem is that if specification
has supported set outer match flags and specified
encapsulation without any inner flags, check says that it
is supported, and filter insertion is performed. However,
there is no filtering of the encapsulated traffic. A new
flag is added to solve this problem and separate the
filters for the encapsulated packets.

Submitted by: Roman Zhukov <roman.zhukov at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18220

Details

Provenance
arybchikAuthored on
Differential Revision
D18220: sfxge(4): distinguish filters for encapsulated packets
Parents
rS341188: sfxge(4): support VXLAN filter creation
Branches
Unknown
Tags
Unknown