Skip to content

[PATCH v1] linux-gen: dpdk: improve code sharing with odp-dpdk#2337

Open
MatiasElo wants to merge 7 commits intoOpenDataPlane:masterfrom
MatiasElo:dev/dpdk-common
Open

[PATCH v1] linux-gen: dpdk: improve code sharing with odp-dpdk#2337
MatiasElo wants to merge 7 commits intoOpenDataPlane:masterfrom
MatiasElo:dev/dpdk-common

Conversation

@MatiasElo
Copy link
Copy Markdown
Collaborator

No description provided.

Remove old now unnecessary workarounds for enabling promisc mode on some
DPDK devices.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Increase default number of RX and TX descriptors to 1024 for improved
packet forwarding performance. Also, use rte_eth_dev_adjust_nb_rx_tx_desc()
to adjust descriptor counts automatically to values supported by the used
poll mode driver.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Move DPDK pktio code which can be shared as-is with ODP-DPDK into a
separate header file.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Move DPDK pktio code which can be shared as-is with ODP-DPDK into a
separate source file.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Modify DPDK pktio statistics code so that it can be shared with ODP-DPDK.
rte_stats.rx_nombuf value is now included in odp_pktio_stats_t.in_discards
and error checks have been improved.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Modify DPDK pktio link status code so that it can be shared with ODP-DPDK.
The new function implementations have been copied from ODP-DPDK with minor
modifications.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Modify DPDK pktio RSS config preparation code so that it can be shared with
ODP-DPDK.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
@odpbuild odpbuild changed the title linux-gen: dpdk: improve code sharing with odp-dpdk [PATCH v1] linux-gen: dpdk: improve code sharing with odp-dpdk Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant