summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Leech <cleech@redhat.com>2015-06-17 15:07:53 -0700
committerChris Leech <cleech@redhat.com>2016-04-12 13:21:51 -0700
commit5ee414a764c742c06882bee8f8612b72a41563d6 (patch)
tree9ae2533539c537dca7a3f4b067b5b9400503c72e /utils
parenteee96526bd1caa8c58046b31705799d87ae10365 (diff)
downloadopen-iscsi-5ee414a764c742c06882bee8f8612b72a41563d6.tar.gz
iscsistart: support booting over a VLAN
Adds code to check for VLAN devices if the boot configuration specifies a VLAN ID. Does not create VLANs, they need to already be in place.
Diffstat (limited to 'utils')
-rw-r--r--utils/fwparam_ibft/fw_entry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/fwparam_ibft/fw_entry.c b/utils/fwparam_ibft/fw_entry.c
index f94a035..0a1b46b 100644
--- a/utils/fwparam_ibft/fw_entry.c
+++ b/utils/fwparam_ibft/fw_entry.c
@@ -41,8 +41,6 @@
/**
* fw_setup_nics - setup nics (ethXs) based on ibft net info
*
- * Currently does not support vlans.
- *
* If this is a offload card, this function does nothing. The
* net info is used by the iscsi iface settings for the iscsi
* function.
@@ -82,6 +80,7 @@ int fw_setup_nics(void)
err = net_setup_netdev(context->iface, context->ipaddr,
context->mask, context->gateway,
+ context->vlan,
context->target_ipaddr, needs_bringup);
if (err)
ret = err;