summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/iscsi_offload8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/iscsi_offload b/utils/iscsi_offload
index 7cd1dad..833d26f 100755
--- a/utils/iscsi_offload
+++ b/utils/iscsi_offload
@@ -190,6 +190,12 @@ case "$driver" in
qla*)
mod=qla4xxx
;;
+ qede)
+ mod=qede
+ ;;
+ qedi)
+ mod=qedi
+ ;;
esac
if [ -z "$mod" ] ; then
@@ -218,6 +224,8 @@ elif [ "$mod" = "be2iscsi" ] ; then
mac=$(iscsi_macaddress_from_pcifn $pcipath $IFNAME)
elif [ "$mod" = "qla4xxx" ] ; then
mac=$(iscsi_macaddress_from_pcifn $pcipath $IFNAME)
+elif [ "$mod" = "qede" -o "$mod" = "qedi" ] ; then
+ mac=$(iscsi_macaddress_from_pcifn $pcipath $IFNAME)
fi
if [ -z "$mac" ] ; then