Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xen2 and VLANs (again)

On 11/12/2007, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:

> Yes, it's the way to go

Sure enough it works  as planned. I'm very happy with the setup.

> From a quick look at current, it looks like the MTU is hardwired in
> the vr(4) driver. But if you have a patch from openbsd, it shouldn't
> be hard to get it working.

I appeared to just need

sc->vr_ec.ec_capabilities = ETHERCAP_VLAN_MTU;
tmp = ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN;
ifp->if_mtu = tmp;

And it seems to work well. I hesitate to submit a patch because I have
very little confidence in what I've done, particularly since I've only
had it running for 10 minutes

Home | Main Index | Thread Index | Old Index