From f780a822c3f42a5789933e27de0123b9c52c4cf3 Mon Sep 17 00:00:00 2001 From: Andrew Patterson Date: Wed, 31 May 2017 09:40:32 -0600 Subject: iscsiuio must be present to use hardware offload for bnx2{,x} Check for the presence of /sbin/iscsiuio before using hardware offload for bnx2 and bnx2x devices. --- 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 cbf3637..16d48e3 100644 --- a/include/iscsi_net_util.h +++ b/include/iscsi_net_util.h @@ -2,6 +2,7 @@ #define __ISCSI_NET_UTIL_h__ #define ISCSI_HWADDRESS_BUF_SIZE 18 +#define ISCSIUIO_PATH "/sbin/iscsiuio" extern int net_get_transport_name_from_netdev(char *netdev, char *transport); extern int net_get_netdev_from_hwaddress(char *hwaddress, char *netdev); -- cgit v1.2.1