DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Harold Huang <baymaxhuang@gmail.com>, <dev@dpdk.org>
Cc: <stable@dpdk.org>, Liron Himi <lironh@marvell.com>
Subject: Re: [PATCH] net/kni: initialize rte_kni_conf to 0 before using it
Date: Thu, 3 Mar 2022 11:31:32 +0000	[thread overview]
Message-ID: <b9b03c2c-640f-7eb9-9999-8b01200c5325@intel.com> (raw)
In-Reply-To: <20220303021803.382374-1-baymaxhuang@gmail.com>

On 3/3/2022 2:18 AM, Harold Huang wrote:
> 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 sometimes we could not change the kni
> device mtu with ip link command.
> 
> Fixes: ff1e35fb5f83 ("kni: calculate MTU from mbuf size")
> Cc: stable@dpdk.org
> Signed-off-by: Harold Huang <baymaxhuang@gmail.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/main, thanks.

  reply	other threads:[~2022-03-03 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 12:33 Harold Huang
2022-03-02 18:16 ` Ferruh Yigit
2022-03-03  1:57   ` Harold Huang
2022-03-03  2:18 ` Harold Huang
2022-03-03 11:31   ` Ferruh Yigit [this message]
2022-03-04 14:27   ` Ferruh Yigit

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=b9b03c2c-640f-7eb9-9999-8b01200c5325@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=baymaxhuang@gmail.com \
    --cc=dev@dpdk.org \
    --cc=lironh@marvell.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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