DPDK usage discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Gadre Nayan <gadrenayan@gmail.com>, users@dpdk.org
Subject: Re: [dpdk-users] KNI Request handler not called for 10G cards
Date: Mon, 20 Jun 2016 11:21:54 +0100	[thread overview]
Message-ID: <5767C3C2.9010905@intel.com> (raw)
In-Reply-To: <CAKJ7aR4Uhrr5iPEWt=Pr1Y9RW=SW-N68jMWvpysyZP4pBwZd+w@mail.gmail.com>

On 6/20/2016 10:59 AM, Gadre Nayan wrote:
> The request RTE_KNI_REQ_CFG_NETWORK_IF does not get generated on an
> admin link up/down command for 10G interfaces.
> 
> Thanks
> Nayan
> 
> On Mon, Jun 20, 2016 at 3:14 PM, Gadre Nayan <gadrenayan@gmail.com> wrote:
>> Hi dpdk users,
>>
>> The callback rte_kni_handle_request does not get called for 10G
>> interfaces on Admin up/down commands (ifconfig vEth0 up/down), but
>> works fine with 1G interfaces.
>>
>> Is this a known issue, if there any patch for this to work with 10G interfaces.
>>
>> Thanks

Hi Nayan,

That part should be independent from hardware,
RTE_KNI_REQ_CFG_NETWORK_IF sent whenever kni_net_open() called. And
ifconfig xxx up should cause kni_net_open() to be called.

KNI is virtual interface, and rte_kni is driver for it, the
request/response part is handled by rte_kni driver, so shouldn't differ
if DPDK port is 1G or 10G.

Do you debug and observe kni_net_open() not called or do you observe
ifconfig up is not working? If observed second, perhaps the reason can
be something else?

Thanks,
ferruh

      reply	other threads:[~2016-06-20 10:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20  9:44 Gadre Nayan
2016-06-20  9:59 ` Gadre Nayan
2016-06-20 10:21   ` Ferruh Yigit [this message]

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=5767C3C2.9010905@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=gadrenayan@gmail.com \
    --cc=users@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).