Augmented the idbm_recinfo_node routine to include the parsing of
the newly added iface net config params:
  bootproto
  subnet_mask
  gateway
  ipv6_autocfg
  linklocal_autocfg
  router_autocfg
  ipv6_linklocal
  ipv6_router
  state
  vlan_id
  vlan_priority
  vlan_state
  iface_num
  mtu
  port

This will also update the iface_rec instance inside the node_rec struct
for the iscsiuio iface_rec info passing for bnx2i offload.

Signed-off-by: Eddie Wai <[email protected]>
---
 usr/idbm.c |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/usr/idbm.c b/usr/idbm.c
index d3383fc..82c2aeb 100644
--- a/usr/idbm.c
+++ b/usr/idbm.c
@@ -255,6 +255,32 @@ idbm_recinfo_node(node_rec_t *r, recinfo_t *ri)
        __recinfo_str(IFACE_TRANSPORTNAME, ri, r, iface.transport_name,
                      IDBM_SHOW, num, 1);
        __recinfo_str(IFACE_INAME, ri, r, iface.iname, IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_BOOT_PROTO, ri, r, iface.bootproto, IDBM_SHOW,
+                     num, 1);
+       __recinfo_str(IFACE_SUBNET_MASK, ri, r, iface.subnet_mask,
+                     IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_GATEWAY, ri, r, iface.gateway, IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_IPV6_AUTOCFG, ri, r, iface.ipv6_autocfg,
+                     IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_LINKLOCAL_AUTOCFG, ri, r, iface.linklocal_autocfg,
+                     IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_ROUTER_AUTOCFG, ri, r, iface.router_autocfg,
+                     IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_LINKLOCAL, ri, r, iface.ipv6_linklocal,
+                     IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_ROUTER, ri, r, iface.ipv6_router, IDBM_SHOW, num,
+                     1);
+       __recinfo_str(IFACE_STATE, ri, r, iface.state, IDBM_SHOW, num, 1);
+       __recinfo_uint16(IFACE_VLAN_ID, ri, r, iface.vlan_id, IDBM_SHOW, num,
+                        1);
+       __recinfo_uint8(IFACE_VLAN_PRIORITY, ri, r, iface.vlan_priority,
+                       IDBM_SHOW, num, 1);
+       __recinfo_str(IFACE_VLAN_STATE, ri, r, iface.vlan_state, IDBM_SHOW,
+                     num, 1);
+       __recinfo_int(IFACE_NUM, ri, r, iface.iface_num, IDBM_SHOW, num, 1);
+       __recinfo_uint16(IFACE_MTU, ri, r, iface.mtu, IDBM_SHOW, num, 1);
+       __recinfo_uint16(IFACE_PORT, ri, r, iface.port, IDBM_SHOW, num, 1);
+
        __recinfo_str(NODE_DISC_ADDR, ri, r, disc_address, IDBM_SHOW,
                      num, 0);
        __recinfo_int(NODE_DISC_PORT, ri, r, disc_port, IDBM_SHOW,
-- 
1.7.7.4


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to