]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363995
authorVincenzo Maffione <vmaffione@FreeBSD.org>
Thu, 27 Aug 2020 19:12:39 +0000 (19:12 +0000)
committerVincenzo Maffione <vmaffione@FreeBSD.org>
Thu, 27 Aug 2020 19:12:39 +0000 (19:12 +0000)
commitd54d569052f9cb610593ee2c536a73cc518085ff
tree7204380b4f17e097844872ad0bc29106e730bd2a
parent149b743282687880f605e027fc8310e3cb1bed59
MFC r363995

em(4): honor vlanhwtag offload

The FreeBSD em driver fails to properly reset the VME flag
in the e1000 CTRL register oneg the following ifconfig command

    ifconfig em1 -vlanhwtag

Tested on the e1000 device emulated by QEMU, and on a real
NIC (chip=0x10d38086).

PR:     236584
Submitted by:    murat@sunnyvalley.io
Reported by:     murat@sunnyvalley.io
Differential Revision:  https://reviews.freebsd.org/D25286
sys/dev/e1000/if_em.c