[VLAN] dropping of un-matched tagged packets?

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

 



> 
> 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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux