Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dpdk 24.11 supports #1009

Merged
merged 12 commits into from
Jan 15, 2025
Merged

Dpdk 24.11 supports #1009

merged 12 commits into from
Jan 15, 2025

Conversation

ywc689
Copy link
Collaborator

@ywc689 ywc689 commented Dec 23, 2024

No description provided.

1. move disabling tx-csum offload feature from virtio_kni_alloc to netif_port_start
2. redo disabling tx-csum offload feature in netif_port_start

Signed-off-by: ywc689 <[email protected]>
Disable rx-checksum offload on virtio-user kni devices so that the tx-checksum offload
feature of corresponding kernel KNI tap interfaces can be disabled automatically. This
saves the endeavors to disable tx-checksuming manually after the tap devices created,
i.e, with api "disable_kni_tx_csum_offload", one operation that would not work stably.

Signed-off-by: ywc689 <[email protected]>
@ywc689 ywc689 force-pushed the dpdk-24.11-supports branch from 20ab537 to 0107af3 Compare December 30, 2024 02:39
@ywc689 ywc689 force-pushed the dpdk-24.11-supports branch from 43903ba to 7dc22a0 Compare January 9, 2025 05:59
ywc689 added 2 commits January 9, 2025 17:55
The feature RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE enables device to support optimization
for fast release of mbufs. When set application must guarantee that per-queue all mbufs
comes from the same mempool and has refcnt = 1.

However, DPVS two-arm forwarding may use devices located at different NUMA nodes, which
can result in multiple mempools for mbuf allocation of one specific tx-queue. Thus, we
add a new config item tx:mbuf_fast_free to dpvs.conf to disable this feature as needed.

Signed-off-by: ywc689 <[email protected]>
@ywc689 ywc689 force-pushed the dpdk-24.11-supports branch from 7dc22a0 to 17277ab Compare January 9, 2025 09:55
@ywc689 ywc689 added the pr/to-review-codes review codes line by line and check if problem exists. label Jan 10, 2025
Copy link
Collaborator

@ytwang0320 ytwang0320 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve +1

@ytwang0320 ytwang0320 added pr/codes-reviewed-ok code review passed and no problem found and removed pr/to-review-codes review codes line by line and check if problem exists. labels Jan 10, 2025
@ywc689 ywc689 added pr/to-test-codes Compile and test the patch of pr to verify if it works. pr/codes-tested-ok compile ok and specified tests passed pr/accepted the pr passed all review stages and await to be merged and removed pr/to-test-codes Compile and test the patch of pr to verify if it works. labels Jan 15, 2025
@ywc689 ywc689 force-pushed the dpdk-24.11-supports branch from 76f7071 to c6b0c3f Compare January 15, 2025 08:59
@ywc689 ywc689 merged commit 108636a into iqiyi:devel Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/accepted the pr passed all review stages and await to be merged pr/codes-reviewed-ok code review passed and no problem found pr/codes-tested-ok compile ok and specified tests passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants