[dpdk-dev] [PATCH] net/af_packet: remove timestamp from packet status
Tudor Cornea
tudor.cornea at gmail.com
Mon Sep 13 19:25:07 CEST 2021
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 <stephen at networkplumber.org>
wrote:
> On Mon, 13 Sep 2021 17:09:11 +0300
> Tudor Cornea <tudor.cornea at gmail.com> 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.
>
More information about the dev
mailing list