https://bugs.dpdk.org/show_bug.cgi?id=482
Bug ID: 482 Summary: [dpdk-20.05]kni/ifconfig:Failed to change vEth0_0 MTU on powerville and springville Product: DPDK Version: 20.05 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: xix.zh...@intel.com Target Milestone: --- Failed to change vEth0_0 MTU on powerville and springville -------------------------------------------------------------------------------- Environment DPDK version: Use make showversion or for a non-released version: git remote -v 20.05-rc3 bc43a8ceedd733eacfe2850ca2589714fdc575d0 Other software versions: name/version for QEMU, OVS, etc. Repeat as required. OS: centos 8.0 / 4.18.0-80.11.2.el8_0.x86_64 Compiler: gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4) Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz NIC hardware: I350 Gigabit Network Connection 1521 &I210 Gigabit Network Connection 1533 NIC firmware: driver:igb version:5.4.0-k firmware-version: 1.63, 0x80001001 Test Setup Steps to reproduce List the steps to reproduce the issue. 1./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:04:00.0 0000:04:00.1 0000:04:00.2 0000:04:00.3 2.make -j 86 -C ./examples/kni/i 3.insmod ./x86_64-native-linuxapp-gcc/kmod/rte_kni.ko 4../examples/kni/build/kni -c 0xe -n 4 -- -P -p 0x1 --config="(0,1,2,3)" -m & 5.ip link show vEth0_0 6.ifconfig vEth0_0 down 7.ifconfig vEth0_0 up 8.ifconfig vEth0_0 mtu 1300 9.ip link show vEth0_0 Expected Result Explain what is the expected result in text or as an example output: ifconfig vEth0_0 mtu 1300 APP: Change MTU of port 0 to 1300 ip link show vEth0_0 vEth0_0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1300 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 Actual Result ifconfig vEth0_0 mtu 1300 APP: Change MTU of port 0 to 1300 SIOCSIFMTU: Timer expired ip link show vEth0_0 vEth0_0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 bad commit id : commit a26b116749a38db09223cfbb18f4c349f2bbae8e Author: Rasesh Mody <rm...@marvell.com> Date: Wed May 13 21:09:38 2020 -0700 examples/kni: fix MTU change to setup Tx queue This patch adds a fix to setup Tx queue when changing KNI interface MTU. It ensures device can safely start txq post MTU change operation. Fixes: fc9ee41b7016 ("examples/kni: convert to new ethdev offloads API") Cc: sta...@dpdk.org Signed-off-by: Rasesh Mody <rm...@marvell.com> Acked-by: Ferruh Yigit <ferruh.yi...@intel.com> -- You are receiving this mail because: You are the assignee for the bug.