Debashis Dutt writes:
> >From what I understand, the normal way to configure VLAN
> is to use ifconfig (use the Solaris PPA stuff to generate VLAN id)
That was correct, yes.
> Project Clearview, I think, incorporates VLAN configuration as part of
> "dladm". However that is not yet part of latest on_src build.
Funny you should say that. Clearview UV integrated into ON about 15
minutes before you sent your message. ;-}
> Please correct me if I am wrong, but,
> in either case, I do not see a way to notify the driver that a VLAN is
> configured, because there is no direct callback associated with that
> in mac_callbacks_s{} structure which is registered with the MAC layer.
>
> Is there is way for a GLDv3 / GLDv2 driver to get called into when VLAN is
> configured ? (This may be required if the NIC supports VLAN filtering in
> hardware.) Should mac_capab_t structure be expanded to add one such
> capacity, if it is already not there ?
There's no notification in GLDv2, but the driver controls whether
VLANs are supported and can set up a separate entry point
(gldm_send_tagged) for the outbound tagged packets.
I don't think GLDv3 does it either, but it sounds like a reasonable
thing to add, if there's hardware that does this. The current code
just seems to be aware that some hardware can't do checksums in the
presence of VLAN headers.
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]