> From: Ferruh Yigit <ferruh.yi...@amd.com>
> Sent: 2023年1月7日 4:13
> To: Thomas Monjalon <tho...@monjalon.net>
> Cc: David Marchand <david.march...@redhat.com>; dev@dpdk.org;
> sta...@dpdk.org; Gao, DaxueX <daxuex....@intel.com>
> Subject: [PATCH] kni: fix build on RHEL 9.1
>
> Linux kernel in the RHEL9.1 seems backported Linux commit [1] that drops
> netif_rx_ni().
>
> This was fixed in DPDK [2] for vanilla Linux kernel.
>
> Adding RHEL9.1 check for the netif_rx_ni() usage to fix build error.
>
> [1]
> 2655926aea9b ("net: Remove netif_rx_any_context() and netif_rx_ni().")
>
> [2]
> Commit c98600d4bed6 ("kni: fix build with Linux 5.18")
>
> Bugzilla ID: 1076
> Cc: sta...@dpdk.org
>
> Signed-off-by: Ferruh Yigit <ferruh.yi...@amd.com>
Tested-by: Daxue Gao <daxuex....@intel.com>