HomeFreeBSD

igc: Don't start in promiscious mode by default

Description

igc: Don't start in promiscious mode by default

The igc driver always sets the promiscious mode during initialization,
ignoring what is set in ifp.
Fix this by checking the interface flags and setting mode appropriately.

Reviewed by: grehan
Obtained from: Semihalf
Sponsored by: Stormshield
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36591

Details

Provenance
hum_semihalf.comAuthored on Sep 16 2022, 11:37 AM
kdCommitted on Sep 19 2022, 7:18 AM
Reviewer
grehan
Differential Revision
D36591: if_igc: Don't start in promiscious mode by default
Parents
rGb8a083ea32f5: gpio: Merge TCA6416 & TCA6408 drivers into TCA64XX
Branches
Unknown
Tags
Unknown