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)
Feb 26 2025, 5:04 AM
Unknown Object (File)
Feb 22 2025, 4:01 AM
Unknown Object (File)
Jan 9 2025, 4:42 PM
Unknown Object (File)
Dec 1 2024, 6:30 PM
Unknown Object (File)
Nov 28 2024, 12:40 PM
Unknown Object (File)
Nov 8 2024, 11:54 PM
Unknown Object (File)
Oct 4 2024, 9:07 PM
Unknown Object (File)
Oct 4 2024, 6:59 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.