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)
Apr 8 2024, 8:51 AM
Unknown Object (File)
Apr 8 2024, 8:36 AM
Unknown Object (File)
Jan 23 2024, 7:03 AM
Unknown Object (File)
Dec 23 2023, 11:47 AM
Unknown Object (File)
Oct 5 2023, 6:20 AM
Unknown Object (File)
Aug 14 2023, 5:45 PM
Unknown Object (File)
Jul 12 2023, 2:19 PM
Unknown Object (File)
Jul 5 2023, 11:18 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.