Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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: nmstateAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 9.1CC: bgalvani, desktop-qa-list, ferferna, fge, jiji, jishi, kanderso, lrintel, maypatil, mhou, mshi, network-qe, nm-team, rkhan, sfaye, sukulkar, till, toneata
Target Milestone: rcKeywords: 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
Nmstate patch posted to upstream: https://github.com/nmstate/nmstate/pull/2183

Also waiting NetworkManager provide applying support via bug https://bugzilla.redhat.com/show_bug.cgi?id=2156385

Comment 2 Gris Ge 2023-01-09 02:15:25 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"
```

Comment 3 Gris Ge 2023-01-09 02:17:56 UTC
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"
```

Comment 9 Gris Ge 2023-03-03 09:37:01 UTC
Patch sent to https://github.com/nmstate/nmstate/pull/2263

Just two lines trivial code changes.

Manually tested on i40e card.

Comment 29 Mingyu Shi 2023-03-28 09:13:09 UTC
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

Comment 31 errata-xmlrpc 2023-11-07 08:24:02 UTC
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