From 04b4a6699f63c4f0bab9523aae3efb8c909d6587 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Thu, 22 Mar 2012 04:09:01 -0400 Subject: iscsi tools: have iscsi tools bring up offload net iface bnx2i and cxgb*i need the network interface that the offload engine attaches to brought up before we can connect. This patch has the iscsi tools do this before trying to create a tcp/ip connection. --- include/iscsi_net_util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/iscsi_net_util.h b/include/iscsi_net_util.h index 222634d..31b80ad 100644 --- a/include/iscsi_net_util.h +++ b/include/iscsi_net_util.h @@ -7,5 +7,6 @@ extern int net_get_transport_name_from_netdev(char *netdev, char *transport); extern int net_get_netdev_from_hwaddress(char *hwaddress, char *netdev); extern int net_setup_netdev(char *netdev, char *local_ip, char *mask, char *gateway, char *remote_ip, int needs_bringup); +extern int net_ifup_netdev(char *netdev); #endif -- cgit v1.2.1