[spp] [PATCH 1/2] spp_nfv: fix bug for patching PMDs
ogawa.yasufumi at lab.ntt.co.jp
ogawa.yasufumi at lab.ntt.co.jp
Tue May 15 03:20:48 CEST 2018
From: Yasufumi Ogawa <ogawa.yasufumi at 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 at 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
More information about the spp
mailing list