if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use

PR:		238665
Submitted by:	Ralf <iz-rpi03@hs-karlsruhe.de>
MFC after:	1 week
This commit is contained in:
Ed Maste 2019-07-02 16:44:04 +00:00
parent 3a76d901d6
commit 91c33ba3a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349602

View File

@ -1610,6 +1610,7 @@ muge_attach_post_sub(struct usb_ether *ue)
* however currently only RX checksum is supported in the driver
* (see top of file).
*/
ifp->if_capabilities |= IFCAP_VLAN_MTU;
ifp->if_hwassist = 0;
if (MUGE_DEFAULT_RX_CSUM_ENABLE)
ifp->if_capabilities |= IFCAP_RXCSUM;