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)
Dec 9 2024, 7:10 AM
Unknown Object (File)
Oct 31 2024, 4:44 AM
Unknown Object (File)
Oct 28 2024, 4:54 PM
Unknown Object (File)
Oct 19 2024, 5:20 AM
Unknown Object (File)
Oct 3 2024, 7:34 PM
Unknown Object (File)
Sep 24 2024, 3:56 AM
Unknown Object (File)
Sep 23 2024, 2:32 AM
Unknown Object (File)
Sep 18 2024, 11:36 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.