[VLAN] newbie question on enabling vlan feature in the driver

Muthu Kumar km7kumar at gmail.com
Tue Mar 13 09:42:39 PST 2007


'm trying to enable VLAN in my eth driver. The eth mac supports
vlan processing and has a register (vlantag1) that should be written
with 0x8100 to enable VLAN processing. Other than this, the mac does
not have any other vlan related registers or anything else. It does not give
any indication during rx if VLAN pkts received.

How do I enable VLAN in my driver for such a MAC? I'm basically
confused with all the callbacks such as vlan_rx_register etc most
drivers support.

Currently, in my driver I've enabled the features NETIF_VLAN_HW_TX/RX
and providing the above callbacks. But I'm not sure whether these flags
are applicable to my driver.

what else I need to do? I'm kinda stuck here. Any help would be highly
appreciated.

thx
/kmk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns2.lanforge.com/pipermail/vlan/attachments/20070313/d8a5fbed/attachment.html


More information about the Vlan mailing list