numam-dpdk/drivers/net/kni
Harold Huang dcd398f946 net/kni: fix config initialization
When kni driver calls eth_kni_start to start device, some fields such as
min_mtu and max_mtu of rte_kni_conf are not initialized. It will cause
kni_ioctl_create create a kni netdevice with a random min_mtu and
max_mtu value. This is unexpected and sometimes we could not change the
kni device mtu with ip link command.

Fixes: ff1e35fb5f ("kni: calculate MTU from mbuf size")
Cc: stable@dpdk.org

Signed-off-by: Harold Huang <baymaxhuang@gmail.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2022-03-03 12:30:51 +01:00
..
meson.build build: remove custom dependency checks in drivers 2022-01-21 15:40:58 +01:00
rte_eth_kni.c net/kni: fix config initialization 2022-03-03 12:30:51 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00