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)
Thu, May 9, 4:58 PM
Unknown Object (File)
Thu, May 9, 4:57 PM
Unknown Object (File)
Thu, May 9, 4:57 PM
Unknown Object (File)
Thu, May 9, 1:53 AM
Unknown Object (File)
Dec 20 2023, 12:38 AM
Unknown Object (File)
Jun 28 2023, 12:56 PM
Unknown Object (File)
May 8 2023, 9:48 AM
Unknown Object (File)
May 6 2023, 2:43 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.