aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-07-21 13:43:32 +0000
committerPeter Mikus <pmikus@cisco.com>2021-07-21 13:45:20 +0000
commit47c92dcb71a6c342dec32fbdc39f543fd857d5b5 (patch)
treefeb493f9a006a96e5e533b19bd1cd1e19ef342b0
parent63b10503aaa224ed86eac0d2ebd8a952a641df17 (diff)
Perf: Enable af_xdp for Intel x500 series
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If45e592aeade12fe643791b431adc860a745be3d (cherry picked from commit fe9072ce82a91c5d6de30d07756d5a12b80f9c74)
-rw-r--r--resources/libraries/python/InterfaceUtil.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index 94c78a1bef..5f40595132 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -1772,9 +1772,10 @@ class InterfaceUtil:
)
elif driver == u"af_xdp":
if kernel_driver not in (
- u"ice", u"iavf", u"i40e", u"i40evf", u"mlx5_core"):
+ u"ice", u"iavf", u"i40e", u"i40evf", u"mlx5_core",
+ u"ixgbe"):
raise RuntimeError(
- f"AF_XDP needs ice or i40e or rdma compatible driver, not "
+ f"AF_XDP needs ice/i40e/rdma/ixgbe compatible driver, not "
f"{kernel_driver} at node {node[u'host']} ifc {ifc_key}"
)
vf_keys = InterfaceUtil.init_generic_interface(