Page MenuHomeFreeBSD

sfxge(4): distinguish filters for encapsulated packets
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:47 AM.
Tags
None
Referenced Files
F87102055: D18220.id51317.diff
Sat, Jun 29, 9:28 AM
Unknown Object (File)
May 9 2024, 4:58 PM
Unknown Object (File)
May 9 2024, 4:57 PM
Unknown Object (File)
May 9 2024, 4:57 PM
Unknown Object (File)
May 9 2024, 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
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21078
Build 20441: arc lint + arc unit

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.