From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 1/2] spp_nfv: fix bug for patching PMDs
Date: Tue, 15 May 2018 10:20:48 +0900 [thread overview]
Message-ID: <20180515012049.8785-2-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180515012049.8785-1-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
This patch is for adding pcap and nullpmd PMDs to portmap struct to
avoid an 'not found' error for them and working not correctly.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
src/nfv/nfv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/nfv/nfv.c b/src/nfv/nfv.c
index e4e98ee..d90b40b 100644
--- a/src/nfv/nfv.c
+++ b/src/nfv/nfv.c
@@ -41,6 +41,8 @@ struct porttype_map portmap[] = {
{ .port_name = "phy", .port_type = PHY, },
{ .port_name = "ring", .port_type = RING, },
{ .port_name = "vhost", .port_type = VHOST, },
+ { .port_name = "pcap", .port_type = PCAP, },
+ { .port_name = "nullpmd", .port_type = NULLPMD, },
{ .port_name = NULL, .port_type = UNDEF, },
};
--
2.17.0
next prev parent reply other threads:[~2018-05-15 1:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 1:20 [spp] [PATCH 0/2] Fix bug for patch not found error ogawa.yasufumi
2018-05-15 1:20 ` ogawa.yasufumi [this message]
2018-05-15 1:20 ` [spp] [PATCH 2/2] controller: fix bug for patching PMDs ogawa.yasufumi
2018-05-24 12:56 ` [spp] [PATCH 0/2] Fix bug for patch not found error 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=20180515012049.8785-2-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@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).