Thanks for the observation.

I have removed the compile-time kernel version check in v2 of the patch


On Mon, 13 Sept 2021 at 18:09, Stephen Hemminger <[email protected]>
wrote:

> On Mon, 13 Sep 2021 17:09:11 +0300
> Tudor Cornea <[email protected]> wrote:
>
> > +static inline bool tx_ring_status_unavailable(uint32_t tp_status)
> > +{
> > +#if KERNEL_VERSION(5, 10, 0) > LINUX_VERSION_CODE
>
> No, having kernel dependent userspace in DPDK is not good practice.
>
> Distribution vendors don't number their kernels the same as upstream.
> RHEL for example, keeps same version over life or release but backports
> many fixes.
>
> Also, the system DPDK runs on is often not the system DPDK is built
> on.
>

Reply via email to