Finish VLAN_MTU support in nve(4). The interface appears to be able
to handle long frames in its default mode, so setting the respective bit in if_capenable is enough. Tested by: yongari
This commit is contained in:
parent
64a113269c
commit
e8ae99894a
@ -530,6 +530,7 @@ nve_attach(device_t dev)
|
||||
ifp->if_snd.ifq_drv_maxlen = TX_RING_SIZE - 1;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
ifp->if_capabilities |= IFCAP_VLAN_MTU;
|
||||
ifp->if_capenable |= IFCAP_VLAN_MTU;
|
||||
|
||||
/* Attach to OS's managers. */
|
||||
ether_ifattach(ifp, eaddr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user