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 - [RFE] Need n_rxq_desc / n_txq_desc configuration for DPDK interfaces
Summary: [RFE] Need n_rxq_desc / n_txq_desc configuration for DPDK interfaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.1
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On: 2156385
Blocks: 2180508 2180509
TreeView+ depends on / blocked
 
Reported: 2022-12-26 17:43 UTC by Karthik Sundaravel
Modified: 2023-11-07 09:02 UTC (History)
18 users (show)

Fixed In Version: nmstate-2.2.8-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of: 2156385
: 2180508 2180509 (view as bug list)
Environment:
Last Closed: 2023-11-07 08:24:02 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 2183 0 None Merged ovs dpdk: Add support of `n_rxq_desc` and `n_txq_desc` 2023-03-06 06:40:39 UTC
Github nmstate nmstate pull 2263 0 None Merged nm ovs dpdk: Fix `n-rxq-desc` and `n-txq-desc` properties 2023-03-06 15:06:05 UTC
Red Hat Issue Tracker NMT-184 0 None None None 2023-01-26 11:05:03 UTC
Red Hat Issue Tracker RHELPLAN-143192 0 None None None 2022-12-26 17:53:30 UTC
Red Hat Product Errata RHBA-2023:6323 0 None None None 2023-11-07 08:24:23 UTC

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


Note You need to log in before you can comment on or make changes to this bug.