Blame SOURCES/0009-Require-libfc-instead-of-fcoe-for-offloaded-FCoE.-15.patch
|
|
0b05ab |
From 8adbf9cf56f486f2f974cf6cdfda657293aff141 Mon Sep 17 00:00:00 2001
|
|
|
0b05ab |
From: David Lehman <dlehman@redhat.com>
|
|
|
0b05ab |
Date: Fri, 19 Oct 2018 09:49:56 -0400
|
|
|
0b05ab |
Subject: [PATCH 1/2] Require libfc instead of fcoe for offloaded FCoE.
|
|
|
0b05ab |
(#1575953)
|
|
|
0b05ab |
|
|
|
0b05ab |
---
|
|
|
0b05ab |
blivet/fcoe.py | 4 ++--
|
|
|
0b05ab |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
0b05ab |
|
|
|
0b05ab |
diff --git a/blivet/fcoe.py b/blivet/fcoe.py
|
|
|
0b05ab |
index 1a2cf9d4..3a1887dc 100644
|
|
|
0b05ab |
--- a/blivet/fcoe.py
|
|
|
0b05ab |
+++ b/blivet/fcoe.py
|
|
|
0b05ab |
@@ -32,13 +32,13 @@ _fcoe_module_loaded = False
|
|
|
0b05ab |
def has_fcoe():
|
|
|
0b05ab |
global _fcoe_module_loaded
|
|
|
0b05ab |
if not _fcoe_module_loaded:
|
|
|
0b05ab |
- util.run_program(["modprobe", "fcoe"])
|
|
|
0b05ab |
+ util.run_program(["modprobe", "libfc"])
|
|
|
0b05ab |
_fcoe_module_loaded = True
|
|
|
0b05ab |
if "bnx2x" in util.lsmod():
|
|
|
0b05ab |
log.info("fcoe: loading bnx2fc")
|
|
|
0b05ab |
util.run_program(["modprobe", "bnx2fc"])
|
|
|
0b05ab |
|
|
|
0b05ab |
- return os.access("/sys/module/fcoe", os.X_OK)
|
|
|
0b05ab |
+ return os.access("/sys/module/libfc", os.X_OK)
|
|
|
0b05ab |
|
|
|
0b05ab |
|
|
|
0b05ab |
class FCoE(object):
|
|
|
0b05ab |
--
|
|
|
0b05ab |
2.17.2
|
|
|
0b05ab |
|