Re: Disabling VLAN_HWTAGGING
From: Jacob S. Barrett (jbarrett_at_amduat.net)
Date: 03/29/04
- Previous message: Jay Hall: "Re: PPTP MTU"
- In reply to: Ruslan Ermilov: "Re: Disabling VLAN_HWTAGGING"
- Next in thread: Roberto Nunnari: "Re: Disabling VLAN_HWTAGGING"
- Reply: Roberto Nunnari: "Re: Disabling VLAN_HWTAGGING"
- Reply: Ruslan Ermilov: "Re: Disabling VLAN_HWTAGGING"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Ruslan Ermilov <ru@FreeBSD.org> Date: Mon, 29 Mar 2004 09:36:49 -0800
On Monday 29 March 2004 12:12 am, Ruslan Ermilov <ru@FreeBSD.org> wrote:
> No, this is not of course expected. Can you add some debug printfs
> in the ng_vlan.c:ng_vlan_rcvdata() and see if it ever receives the
> VLAN tag, and if so, print its value (perhaps the tag is entered by
> a driver in a network byte order).
Bingo... I will dig around in if_nge.c to figure out where to swap the bytes.
> Well, for IP/TCP/UDP checksumming, it's possible to switch the
> corresponding bit in the interface's enabled capabilities field.
> OTOH, switching VLAN stripping on/off requires reprogramming of
> the hardware.
>
> Generally, if the hardware supports IP/TCP/UDP checksumming and
> or VLAN tag removal/insertion, it's better to use it. We'd
> better find the root of the problem and fix it. ;)
I agree, so now that we have found it I will try to fix it. Thanks for your
help.
-- Jacob S. Barrett jbarrett@amduat.net www.amduat.net "I don't suffer from insanity, I enjoy every minute of it." _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Jay Hall: "Re: PPTP MTU"
- In reply to: Ruslan Ermilov: "Re: Disabling VLAN_HWTAGGING"
- Next in thread: Roberto Nunnari: "Re: Disabling VLAN_HWTAGGING"
- Reply: Roberto Nunnari: "Re: Disabling VLAN_HWTAGGING"
- Reply: Ruslan Ermilov: "Re: Disabling VLAN_HWTAGGING"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]