Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

@natali-rs1985
Copy link
Contributor

Not all NICs can operate in interrupt mode
Tested on e1000, virtio_net and vmxnet3 NICs.
The other NICs that support interrups were checked from documentation and source code

Change Summary

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Other (please describe):

Related Task(s)

Related PR(s)

Proposed changes

How to test

set vpp settings interface eth2 rx-mode interrupt

vyos@vyos# commit
[edit]
vyos@vyos# sudo vppctl show interface rx-placement
Thread 0 (vpp_main):
 node dpdk-input:
    eth2 queue 0 (interrupt)
 node virtio-input:
    tap1 queue 0 (interrupt)
[edit]
vyos@vyos#

set vpp settings interface eth1 driver dpdk
commit

vyos@vyos# cat /run/vpp/vpp_conf.json
{"eth_ifaces": {"eth2": {"original_driver": "e1000", "bus_id": "pci", "dev_id": "0000:00:05.0"}, "eth1": {"original_driver": "virtio_net", "bus_id": "virtio", "dev_id": "0000:00:04.0"}}}

vyos@vyos# set vpp settings interface eth1 rx-mode interrupt
[edit]
vyos@vyos# commit
[ vpp ]
RX mode interrupt is not supported for interface eth1
[[vpp]] failed
Commit failed
[edit]

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@sever-sever sever-sever merged commit 207ff25 into vyos-legacy:current Feb 20, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants