Tom Chen wrote: > Hello, > > I am testing my GLDV2 driver "qla". The OS is Nevada 76 and my qla driver > works fine however, VLAN does not. I can not set it up at all, but, VLAN can > be setup on bge driver. I do not know why? > [...] > # dladm show-link > qla0 type: legacy mtu: 1500 device: qla0 > qla1 type: legacy mtu: 1500 device: qla1 > bge0 type: non-vlan mtu: 1500 device: bge0 > bge3000 type: vlan 3 mtu: 1500 device: bge0 > bge1 type: non-vlan mtu: 1500 device: bge1 > bge2 type: non-vlan mtu: 1500 device: bge2 > bge3 type: non-vlan mtu: 1500 device: bge3 > # ifconfig qla3000 plumb > ifconfig: SIOCSLIFNAME for ip: qla3000: no such interface
The fact that dladm says that your device is of type 'legacy' indicates that you aren't producing a GLDv3 driver. VLAN support is provided by the OS only for GLDv3 drivers - if you have a DLPI or GLDv2 driver then you have to do a bunch of work yourself. For DLPI you have to do everything (parse the PPA to find the tag, tag insertion, tag removal, etc.). For GLDv2 you must provide a working gldm_send_tagged function in your macinfo structure plus a couple of other things. dme. _______________________________________________ networking-discuss mailing list [email protected]
