RE: dropping of un-matched tagged packets?
"James Harper" <[email protected]>
| Newsgroups | gmane.linux.drivers.vlan |
|---|---|
| Message-ID | <AEC6C66638C05B468B556EA548C1A77DAF0D01@trantor> |
>
> The easiest way is probably to hack the NIC's driver instead of
> the VLAN code. The driver has a flag that says whether it supports
> HW accell or not..just need to disable that flag, probably.
>
> The e1000 driver writers hang out on the netdev mailing list,
> could ask there.
>
It should be easy enough to do, just change the following in
e1000_main.c:
netdev->features = NETIF_F_SG |
NETIF_F_HW_CSUM |
NETIF_F_HW_VLAN_TX |
NETIF_F_HW_VLAN_RX |
NETIF_F_HW_VLAN_FILTER;
To:
netdev->features = NETIF_F_SG |
NETIF_F_HW_CSUM;
And then the vlan module won't be able to know that the hardware
supports hardware VLAN acceleration.
I still think a change to the vlan code to optionally disallow hw
acceleration would be useful.
If I submitted a patch would it be considered for inclusion?
James