ccing Ben Li from Broadcom.
On 11/02/2010 06:42 PM, Anish Bhatt wrote:
MAC addresses specified in iface files are currently case sensitive. This can be an issue on vlan interfaces, as isciadm -m iface does not create config files for vlan interfaces and they need to be written manually. Attached patch will convert uppercase MAC addresses to lower case after reading them (iscsiadm expects them in lower case only). There seems to be another issue with VLAN interfaces. Interface files for offloaded vlan interfaces (on chelsio cards atleast) need a hardware address to be specified to work. As of now, iscsiadm does not catch this
So for software iscsi and vlans, you just need to specify the netdev vlan name (for example eth0.1 for the iface.net_ifacename). You do not need to set the hwaddress/mac in the iface.
iscsiadm does not catch what you need for offload because I had no idea you were doing this.
For chelsio offload how are you guys specifying things when vlans are used and what does cxgb3i export? Do you have to create a vlan with the normal linux tools like vconfig first, then for the net_ifacename are you specifying the vlan name created by vconfig? cxgbi_device_find_by_netdev then matches the names with the real netdev?
Why do you need to pass in the hardware address? There was talk about adding a vlan id: http://groups.google.com/group/open-iscsi/browse_thread/thread/7ee3b5bb5502871b/37fe62da7d1ffa4e?lnk=gst&q=Using+IFACE_SUBNET_MASK+and+IFACE_VLAN#37fe62da7d1ffa4e so we could have a more common way of specifying the vlan to be used.
and will simply fail. This is already noted in the readme, but would
What note in the readme are you referring to?
there be any interest in adding functionality to 'iscsiadm -m iface' to handle vlan interfaces, or warn about missing hwaddress keys when it comes to offloaded vlan interfaces ? -Anish
-- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.