|WARNING| pw104870 [PATCH v2] net/kni: reset rte_kni_conf struct before initialization

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Dec 5 05:44:13 CET 2021


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/104870

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#75: 
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 in some time we could not change the kni device mtu with ip link command.

total: 0 errors, 1 warnings, 0 checks, 7 lines checked


More information about the test-report mailing list