diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2022-05-12 10:24:52 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-05-19 19:15:07 +0800 |
commit | 09098721b1c78ee812ee287f6b366a47f4b5be87 (patch) | |
tree | d03503a3d956af60dd15e59db42a5d564ecc6da3 /recipes-extended/dpdk/dpdk-module_21.11.1.bb | |
parent | ad5fdb707f44dddd276b864d2098c3abede90067 (diff) | |
download | meta-dpdk-09098721b1c78ee812ee287f6b366a47f4b5be87.tar.gz |
dpdk-module: use netif_rx() instead of netif_rx_ni()
The netif_rx_ni is removed in below commit after kernel upgraded
to 5.18, so use netif_rx() instead of netif_rx_ni() to fix the gap.
2655926aea9b net: Remove netif_rx_any_context() and netif_rx_ni().
Fixes:
| TOPDIR/tmp-glibc/work/intel_x86_64-wrs-linux/dpdk-module/21.11.0-r0/git/kernel/linux/kni/kni_net.c: In function 'kni_net_rx_normal':
| TOPDIR/tmp-glibc/work/intel_x86_64-wrs-linux/dpdk-module/21.11.0-r0/git/kernel/linux/kni/kni_net.c:444:17: error: implicit declaration of function 'netif_rx_ni'; did you mean 'netif_rx'? [-Werror=implicit-function-declaration]
444 | netif_rx_ni(skb);
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-extended/dpdk/dpdk-module_21.11.1.bb')
-rw-r--r-- | recipes-extended/dpdk/dpdk-module_21.11.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk-module_21.11.1.bb b/recipes-extended/dpdk/dpdk-module_21.11.1.bb index 405dd3e..3089ec9 100644 --- a/recipes-extended/dpdk/dpdk-module_21.11.1.bb +++ b/recipes-extended/dpdk/dpdk-module_21.11.1.bb | |||
@@ -4,6 +4,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/dpdk:" | |||
4 | 4 | ||
5 | SRC_URI += " \ | 5 | SRC_URI += " \ |
6 | file://0001-Makefile-add-makefile.patch \ | 6 | file://0001-Makefile-add-makefile.patch \ |
7 | file://0001-kni_net.c-use-netif_rx-instead-of-netif_rx_ni.patch \ | ||
7 | " | 8 | " |
8 | STABLE = "-stable" | 9 | STABLE = "-stable" |
9 | BRANCH = "21.11" | 10 | BRANCH = "21.11" |