summaryrefslogtreecommitdiffstats
path: root/sys/dev/nve
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-05-07 09:45:31 +0000
committeryar <yar@FreeBSD.org>2007-05-07 09:45:31 +0000
commit0ab30abc0a226d9729316cc658a4f37f54ec1f19 (patch)
tree8fef2b616a173c281e123b4480c89d0ea0d7e8c1 /sys/dev/nve
parent45f15cd6790b69b7eaa0e598a9af7a2071683863 (diff)
downloadFreeBSD-src-0ab30abc0a226d9729316cc658a4f37f54ec1f19.zip
FreeBSD-src-0ab30abc0a226d9729316cc658a4f37f54ec1f19.tar.gz
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
Diffstat (limited to 'sys/dev/nve')
-rw-r--r--sys/dev/nve/if_nve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nve/if_nve.c b/sys/dev/nve/if_nve.c
index 06ca4ba..76e1630 100644
--- a/sys/dev/nve/if_nve.c
+++ b/sys/dev/nve/if_nve.c
@@ -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);
OpenPOWER on IntegriCloud