I was wondering about your thoughts on using on IFACE_SUBNET_MASK and
IFACE_VLAN definitions in the iface file. In version 0.5.6 of uIP we
have started to add VLAN support; but, with the current iface file only
one VLAN is supported at a time per each iSCSI offloaded interface.
This is because the code assumes the VLAN from the interface as passed
by CNIC. When looking through the iscsid code in the 'usr' directory we
see the following definitions:
<--snip snip from 'usr/idbm_fields.h'-->
#define IFACE_SUBNET_MASK "iface.subnet_mask"
#define IFACE_VLAN "iface.vlan"
<--snip snip from 'usr/idbm_fields.h'-->
I don't see these referenced anywhere else in the 'usr' directory by
iscsid or iscsiadm. Were they intended to be used? Were these fields
in the iface file going to be implemented and kept in the iscsid records
at some point?
Thanks again for all your help.
-Ben
They are used in /open-iscsi/utils/fwparam_ibft/fw_entry.c. Right now,
we just use them for printing out the vlan and subnet in some standard way.
It is not really used since the other code does not yet support it. You
can change the code to whatever is needed.