Page MenuHomeFreeBSD

sfxge(4): distinguish filters for encapsulated packets
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 24, 2:59 AM
Unknown Object (File)
Aug 13 2025, 7:10 AM
Unknown Object (File)
Aug 2 2025, 5:40 PM
Unknown Object (File)
Jun 30 2025, 6:20 AM
Unknown Object (File)
Jun 30 2025, 4:00 AM
Unknown Object (File)
Jun 24 2025, 12:18 PM
Unknown Object (File)
Jun 23 2025, 8:48 PM
Unknown Object (File)
Jun 21 2025, 11:44 PM
Subscribers

Details

Summary

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.

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 29 2018, 6:44 AM
This revision was automatically updated to reflect the committed changes.