From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F9CAA0093; Thu, 21 May 2020 06:46:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B32561C222; Thu, 21 May 2020 06:46:22 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id CD4341C1AA for ; Thu, 21 May 2020 06:46:21 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id A707CA00BE; Thu, 21 May 2020 06:46:21 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 21 May 2020 04:46:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 20.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xix.zhang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 481] [dpdk-20.05]kni/ifconfig:Failed to change vEth0_0 MTU on powerville and springville X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D481 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 remot= e -v 20.05-rc3 bc43a8ceedd733eacfe2850ca2589714fdc575d0 Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. 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=3Dvfio-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=3D"(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: 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: mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 bad commit id : commit a26b116749a38db09223cfbb18f4c349f2bbae8e Author: Rasesh Mody 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 Acked-by: Ferruh Yigit --=20 You are receiving this mail because: You are the assignee for the bug.=