DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 481] [dpdk-20.05]kni/ifconfig:Failed to change vEth0_0 MTU on powerville and springville
@ 2020-05-21  4:46 bugzilla
  2020-05-21  5:10 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2020-05-21  4:46 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=481

            Bug ID: 481
           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.zhang@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 <rmody@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: stable@dpdk.org

Signed-off-by: Rasesh Mody <rmody@marvell.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-21  5:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21  4:46 [dpdk-dev] [Bug 481] [dpdk-20.05]kni/ifconfig:Failed to change vEth0_0 MTU on powerville and springville bugzilla
2020-05-21  5:10 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).