Page MenuHomeFreeBSD

netmap: automatically disable some capabilities over vlan interface
AbandonedPublic

Authored by jsmith_verisign.com on Nov 8 2018, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 14, 7:03 PM
Unknown Object (File)
Fri, Mar 13, 2:40 PM
Unknown Object (File)
Mon, Mar 9, 1:19 PM
Unknown Object (File)
Feb 8 2026, 8:15 PM
Unknown Object (File)
Jan 25 2026, 6:12 AM
Unknown Object (File)
Jan 23 2026, 3:45 AM
Unknown Object (File)
Dec 2 2025, 5:25 PM
Unknown Object (File)
Nov 30 2025, 3:51 PM

Details

Reviewers
jch
vmaffione
Summary
  • Disable problematic capabilities (vlan stripping, checksum offloading, tso, lro) when using using netmap on vlan interfaces
  • Restore inhibited capabilities when leaving netmap mode

Submitted by: Marc de la Gueronniere <mdelagueronniere@verisign.com>
MFC after: 1 week
Sponsored by: Verisign, Inc.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20704
Build 20117: arc lint + arc unit

Event Timeline

jsmith_verisign.com retitled this revision from netmap: automatically disable some capabilities over vlan interface - Disable problematic capabilities (vlan stripping, checksum offloading, tso, lro) when using using netmap on vlan interfaces - Restore inhibited capabilities when leaving... to netmap: automatically disable some capabilities over vlan interface.Nov 8 2018, 5:12 PM
jsmith_verisign.com edited the summary of this revision. (Show Details)

I'm sorry, but as a design decision for netmap we never automatically change interface features/offloading automatically and restore them.
We require the application or the system administrator to do so explicitely.
In any case this must be discussed with the upstream project https://github.com/luigirizzo/netmap

I'm sorry, but as a design decision for netmap we never automatically change interface features/offloading automatically and restore them.
We require the application or the system administrator to do so explicitely.
In any case this must be discussed with the upstream project https://github.com/luigirizzo/netmap

Closing this review and will open a pull request on upstream project https://github.com/luigirizzo/netmap directly, and will discuss this change there. Thanks!

Closed this diff to take the matter upstream.