summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2021-07-20 15:51:40 -0700
committerLee Duncan <lduncan@suse.com>2021-07-20 15:54:40 -0700
commitad0a656b75133997590594dbf4bf3e16307ff883 (patch)
treeab2d2f8ecaefe6d2d09a75ecd40500a5a215aa9e /utils
parentbb0d696b8e8563dcfb75e61dda302c721e6ce6d2 (diff)
downloadopen-iscsi-ad0a656b75133997590594dbf4bf3e16307ff883.tar.gz
Support the "qede" CNA-card driver.
The iscsi_offload command needs to recognize the "qede" driver.
Diffstat (limited to 'utils')
-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