Bug 2156386
| Summary: | [RFE] Need n_rxq_desc / n_txq_desc configuration for DPDK interfaces | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Karthik Sundaravel <ksundara> | |
| Component: | nmstate | Assignee: | Gris Ge <fge> | |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 9.1 | CC: | bgalvani, desktop-qa-list, ferferna, fge, jiji, jishi, kanderso, lrintel, maypatil, mhou, mshi, network-qe, nm-team, rkhan, sfaye, sukulkar, till, toneata | |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | nmstate-2.2.8-1.el9 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 2156385 | |||
| : | 2180508 2180509 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-07 08:24:02 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 2156385 | |||
| Bug Blocks: | 2180508, 2180509 | |||
|
Comment 1
Gris Ge
2023-01-09 02:14:18 UTC
Example yaml:
```
---
interfaces:
- name: ovs0
type: ovs-interface
state: up
dpdk:
devargs: "0000:af:00.1"
n_rxq: 100
n-rxq-desc: 1024
n-txq-desc: 2048
- name: br0
type: ovs-bridge
state: up
bridge:
options:
datapath: "netdev"
port:
- name: ovs0
ovs-db:
other_config:
dpdk-init: "true"
```
Sorry. Please ignore above comment.
Please use this yaml once NetworkManager part is done:
```
---
interfaces:
- name: ovs0
type: ovs-interface
state: up
dpdk:
devargs: "0000:af:00.1"
n_rxq: 100
n_rxq_desc: 1024
n_txq_desc: 2048
- name: br0
type: ovs-bridge
state: up
bridge:
options:
datapath: "netdev"
port:
- name: ovs0
ovs-db:
other_config:
dpdk-init: "true"
```
Patch sent to https://github.com/nmstate/nmstate/pull/2263 Just two lines trivial code changes. Manually tested on i40e card. Verified with: nmstate-2.2.9-1.el9.x86_64 nispor-1.2.10-1.el9.x86_64 NetworkManager-1.43.4-1.el9.x86_64 openvswitch2.15-2.15.0-81.el9fdp.x86_64 Linux dell-per740-79.rhts.eng.pek2.redhat.com 5.14.0-289.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Mar 19 06:09:51 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux DISTRO=RHEL-9.3.0-20230328.0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6323 |