diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-ethernet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py index 18ee85178..b358e9725 100755 --- a/src/conf_mode/interfaces-ethernet.py +++ b/src/conf_mode/interfaces-ethernet.py @@ -69,7 +69,7 @@ def verify(ethernet): verify_vrf(ethernet) # XDP requires multiple TX queues - if dict_search('offload.xdp', ethernet) != None: + if 'xdp' in ethernet: queues = glob('/sys/class/net/{ifname}/queues/tx-*'.format(**ethernet)) if len(queues) < 2: raise ConfigError('XDP requires additional TX queues, too few available!') |