dpdk-module/21.11 : update version to 21.11.2

Drops upstreamed patch:
 * 0001-kni_net.c-use-netif_rx-instead-of-netif_rx_ni.patch

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Yogesh Tyagi 2022-09-05 21:57:31 +08:00 committed by Anuj Mittal
parent ec25349326
commit 010674478c
2 changed files with 1 additions and 32 deletions

View File

@ -4,11 +4,10 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/dpdk:"
SRC_URI += " \
file://0001-Makefile-add-makefile.patch \
file://0001-kni_net.c-use-netif_rx-instead-of-netif_rx_ni.patch \
"
STABLE = "-stable"
BRANCH = "21.11"
SRCREV = "fcd039e4663bf2b595d7af3a8175a3e0bc09b367"
SRCREV = "7bcd45ce824d0ea2a9f30d16855613a93521851b"
S = "${WORKDIR}/git"
inherit module

View File

@ -1,30 +0,0 @@
From 5c19a02979d3414f1326359494c1df38eac2730b Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Wed, 11 May 2022 17:47:09 +0800
Subject: [PATCH] kni_net.c: use netif_rx() instead of netif_rx_ni()
The netif_rx_ni is removed in below commit after kernel upgraded
to 5.18, so change accordingly to fix the gap.
2655926aea9b net: Remove netif_rx_any_context() and netif_rx_ni().
Upstream-Status: Submitted [https://mails.dpdk.org/archives/dev/2022-May/240924.html]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
kernel/linux/kni/kni_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/linux/kni/kni_net.c b/kernel/linux/kni/kni_net.c
index 29e5b9e21f..e66b35314a 100644
--- a/kernel/linux/kni/kni_net.c
+++ b/kernel/linux/kni/kni_net.c
@@ -441,7 +441,7 @@ kni_net_rx_normal(struct kni_dev *kni)
skb->ip_summed = CHECKSUM_UNNECESSARY;
/* Call netif interface */
- netif_rx_ni(skb);
+ netif_rx(skb);
/* Update statistics */
dev->stats.rx_bytes += len;