DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 482] [dpdk-20.05]kni/ifconfig:Failed to change vEth0_0 MTU on powerville and springville
Date: Thu, 21 May 2020 04:50:51 +0000	[thread overview]
Message-ID: <bug-482-3@http.bugs.dpdk.org/> (raw)


            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.zhang@intel.com
  Target Milestone: ---

Failed to change vEth0_0 MTU on powerville and springville

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
                     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.

                 reply	other threads:[~2020-05-21  4:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-482-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).