kni: fix compilation on RHEL 8.3
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 13 Nov 2020 08:42:03 +0000 (09:42 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Thu, 26 Nov 2020 13:43:19 +0000 (14:43 +0100)
commit4d4876744ada7b5fc660a97d33074b56a00dcf89
tree960c8558607b9beb310e640825656d1da1ca69be
parent4ecda7f05293d76f07e313f1e778806ae792ed0c
kni: fix compilation on RHEL 8.3

Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix
build with Linux 5.6"), a new parameter 'txqueue' has to be added to
'ndo_tx_timeout' ndo on RHEL 8.3 kernel.

Cc: stable@dpdk.org
Tested-by: Christophe Grosse <christophe.grosse@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
kernel/linux/kni/compat.h