aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-07-21 13:43:32 +0000
committerpmikus <pmikus@cisco.com>2021-07-21 13:43:32 +0000
commitfe9072ce82a91c5d6de30d07756d5a12b80f9c74 (patch)
tree20e20a5e3c01f4db3880bb266e701626a2a0e32b /resources/libraries
parentca70f05328367e208545038e3f9b6289f77d8a86 (diff)
Perf: Enable af_xdp for Intel x500 series
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If45e592aeade12fe643791b431adc860a745be3d
Diffstat (limited to 'resources/libraries')
-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 fed2beed3b..e474e29631 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -1771,9 +1771,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(