From: Cody Doucette <doucette@bu.edu>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] using the KNI on Amazon EC2
Date: Tue, 28 Nov 2017 18:33:02 -0500 [thread overview]
Message-ID: <CAJjX64Y14wwo+ZRS0ha3gNtdzAKzr72y_wOgpfK7SMMGy4V_sA@mail.gmail.com> (raw)
In-Reply-To: <f804b407-5e19-2b24-246b-2dd457ac7de4@intel.com>
On Mon, Nov 27, 2017 at 6:59 PM, Ferruh Yigit <ferruh.yigit@intel.com>
wrote:
> Bringing interface up via ifconfig should be working.
> Are you testing kni sample app or kni pmd?
Indeed it does work!
The issue turned out to be that my implementation for the KNI
config_network_if() callback was using the
dev_set_link_up/dev_set_link_down APIs, as the IP pipeline example does.
However, the KNI sample application uses the dev_start/dev_stop/link_update
APIs to implement configuring the interface.
The ENA driver does not implement dev_set_link_up/dev_set_link_down, so I
was getting an error that the operation not supported. Using the
config_network_if() callback implementation that the KNI sample application
uses works!
Thank you.
prev parent reply other threads:[~2017-11-28 23:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 19:11 Cody Doucette
2017-11-27 23:59 ` Ferruh Yigit
2017-11-28 23:33 ` Cody Doucette [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=CAJjX64Y14wwo+ZRS0ha3gNtdzAKzr72y_wOgpfK7SMMGy4V_sA@mail.gmail.com \
--to=doucette@bu.edu \
--cc=ferruh.yigit@intel.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).