Thread (3 messages) flat view 3 messages, 2 authors, 2021-07-23

Re: [dpdk-dev] [PATCH] net/af_packet: run on kernels without qdisc bypass support

From: Thomas Monjalon <hidden>
Date: 2021-07-23 08:20:55

14/07/2021 11:28, Tudor Cornea:
Some older kernels do not support the PACKET_QDISC_BYPASS socket
option. Such an example is the CentOS 7 kernel (3.10).

If we only check for the definition of PACKET_QDISC_BYPASS, it might mean
that we will not be able to compile the PMD driver on a newer platform,
and run in on a machine with an older kernel.

Setting the socket option only if it is specifically requested from
the EAL arguments, allows us to have a way to run the PMD compiled
against newer kernel headers, on platforms having older kernels.

Signed-off-by: Tudor Cornea <redacted>
Applied, thanks.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help