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: VERIFIED
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-07-28 06:28 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:
Type: Bug
Target Upstream Version:
Embargoed:


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

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


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