-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio_net: fix vring desc length calculation
Linux virtio net driver uses the Exponential Weighted Moving Average (EWMA) to update the descriptor length. Therefore, the descriptor length gets continuously updated based on the average length of the received packets. This patch updates the enqueue code to read and adapt to the varying descriptor length. Change-Id: I890f90a68fb880574aa17b82ee04fefd6a58a133 Signed-off-by: Kommula Shiva Shankar <kshankar@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpu-offload/+/131664 Tested-by: sa_ip-toolkits-Jenkins <sa_ip-toolkits-jenkins@marvell.com> Reviewed-by: Rahul Bhansali <rbhansali@marvell.com> Reviewed-by: Nithin Kumar Dabilpuram <ndabilpuram@marvell.com>
- Loading branch information
1 parent
e023484
commit 3660e13
Showing
1 changed file
with
51 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters