From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0102.outbound.protection.outlook.com [104.47.2.102]) by dpdk.org (Postfix) with ESMTP id 0E9A9F1F for ; Wed, 25 Oct 2017 10:29:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector2-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1fe1kd+8rKNLY2u9HkFLGu7bZ8ipZ8VN2/J4DsneMhk=; b=Sp8Ethm9WIuzKtEY8tsiqrtx8GD2TdjwAHUXSj9rEFDeJ7jCn9lqIGjXc0CekJO8gE0Ef3gaZEGikY/SCSlKChMTd0pjhNNClg0qm1xDtFcVr4pggbLathSjRFL4BzXTbDeio0NvaFp97o2gBXI6TYLPZDiSF34fOAEuY1UuAE4= Received: from HE1PR0702MB3593.eurprd07.prod.outlook.com (52.133.6.16) by HE1PR0702MB3593.eurprd07.prod.outlook.com (52.133.6.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.4; Wed, 25 Oct 2017 08:29:33 +0000 Received: from HE1PR0702MB3593.eurprd07.prod.outlook.com ([fe80::8126:91e4:19c:419f]) by HE1PR0702MB3593.eurprd07.prod.outlook.com ([fe80::8126:91e4:19c:419f%13]) with mapi id 15.20.0197.004; Wed, 25 Oct 2017 08:29:33 +0000 From: "Xu, Rongjie (NSB - CN/Hangzhou)" To: "users@dpdk.org" Thread-Topic: [ovs-dpdk] how to link between guest vNIC and dpdkvhost socket Thread-Index: AdNNZCbjMyxphFIEQfaOTW3+DuPdtwABzXDQ Date: Wed, 25 Oct 2017 08:29:33 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [131.228.32.176] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0702MB3593; 6:TtGesbetnkBfhQyFzWqzRRqRrtrgRC7g3stRf4vbi47de22DKaFBF2x+SzK+CGFjHFjWO41RI150p32+QF2V3AVSBfZEQOhwiWleimx2s7pTcMs7HD3SAHufapHL2kUPAed8Ym1xX/psfihIdKSB8+hb/dw8OtLuij5JpuWcYPQVhWHK64qc9//gcfLPwW04Zkdqfo/gk5Lu9EzW1Znc0sG0pGB7XIztTShtYaUYeRe554WgTWbfWLlDIgGlWITZm2LieZP5irLrFTZMyb+EzGNv2eukWIRhdB8Cn4qBbfAZ19CM3ezMoG3J7HFv4wduQ4ZnF119HrPmyjHxFmCRofLrBtMIm/sUPf/JOz2JM9s=; 5:w5ptRBk9Jklx+SkpKWTPOkEPYCFie+vUo9C7JqE0fZcSzA7ql6I+s+j0CtHP2OwnOqdtEkvTSrS9k5NULTQu4QddVR19fGKlVp72o0AmB/3oVpke2AqFv2ZGkVW0JomYm7bGodXLJCj+4953ZKJ0J2ehUMlByPPj/GAMxlm5KyA=; 24:EWubQ25AKMHfInuJvLqoV/WiUcLHg52F6Yex5fOTFACHlVzqnsdPvdvOoofoEzwV7CKHwnl40rp8h97b9ff2I3EET17uHz3FYE263hdM0f8=; 7:aLBN7+R6IPo8xn9xsCJp72OgcNkYtrG1gpc2AxtThGOm3bts2zYGn9B37YvQ1gD1ArG8pkNWTQjihhVVz43qMsREFGKFRI7BmCppsq9CxKEKJEmiCEy5xrjtY3HuiyPtflNOYhzDgVyC5u+/JvfOnyp9PTj9NpQyxU7ftOevDYWx2HTl8hvgn9qt6l77ZqJXgYm0HdRfs2pwUpWRREB31pmjKb899am8UkQZ6WCY1bK3iaTM+Z0G5jT32G62xnyU x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 850aa78e-7309-493a-5a9b-08d51b828536 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(48565401081)(2017052603238); SRVR:HE1PR0702MB3593; x-ms-traffictypediagnostic: HE1PR0702MB3593: x-exchange-antispam-report-test: UriScan:(21748063052155); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3231020)(3002001)(6055026)(6041248)(20161123558100)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0702MB3593; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0702MB3593; x-forefront-prvs: 0471B73328 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(346002)(376002)(39860400002)(199003)(189002)(68736007)(5250100002)(2501003)(5890100001)(105586002)(25786009)(74316002)(33656002)(106356001)(97736004)(2351001)(99286003)(3660700001)(55016002)(3280700002)(9686003)(6916009)(2950100002)(5630700001)(6506006)(8676002)(1730700003)(81156014)(81166006)(6306002)(790700001)(6116002)(102836003)(86362001)(54896002)(3846002)(53936002)(8936002)(6436002)(66066001)(101416001)(2940100002)(5660300001)(50986999)(54356999)(316002)(76176999)(189998001)(478600001)(9326002)(7696004)(14454004)(4743002)(7736002)(5640700003)(2906002)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0702MB3593; H:HE1PR0702MB3593.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; received-spf: None (protection.outlook.com: nokia-sbell.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=rongjie.xu@nokia-sbell.com; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nokia-sbell.com X-MS-Exchange-CrossTenant-Network-Message-Id: 850aa78e-7309-493a-5a9b-08d51b828536 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2017 08:29:33.6642 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3593 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] [ovs-dpdk] how to link between guest vNIC and dpdkvhost socket X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2017 08:29:35 -0000 Hi, I have one OpenStack environment with OVS-DPDK (manually installed). I succ= ess to launch two VMs on two separate compute node with vhostuser interface= type. But I cannot ping from one to another. I found there are even no pac= kets in the local 'br-int' bridge (where dpdkvhostuser interface is attache= d). My guess is the link between guest vNIC and dpdkvhost socket at host si= de is somehow broken, but I do not know how to proceed. Anyone any suggesti= ons? Compute0: Bridge br-int Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port "vhu2aae3928-3c" tag: 1 Interface "vhu2aae3928-3c" type: dpdkvhostuser root@compute0:~# file /var/run/openvswitch/vhu2aae3928-3c /var/run/openvswitch/vhu2aae3928-3c: socket Compute1: Bridge br-int Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port "vhuca25b420-6d" tag: 1 Interface "vhuca25b420-6d" type: dpdkvhostuser root@compute1:~# file /var/run/openvswitch/vhuca25b420-6d /var/run/openvswitch/vhuca25b420-6d: socket When I ping, I even does not find ARP packets in the br-int flow tables. root@compute0:~# ovs-ofctl dump-flows br-int | grep "in_port=3D3" cookie=3D0xb177d87a58ae18fe, duration=3D1927.889s, table=3D0, n_packets=3D0= , n_bytes=3D0, idle_age=3D1927, priority=3D10,icmp6,in_port=3D3,icmp_type= =3D136 actions=3Dresubmit(,24) cookie=3D0xb177d87a58ae18fe, duration=3D1927.886s, table=3D0, n_packets=3D0= , n_bytes=3D0, idle_age=3D1927, priority=3D10,arp,in_port=3D3 actions=3Dres= ubmit(,24) cookie=3D0xb177d87a58ae18fe, duration=3D1927.893s, table=3D0, n_packets=3D0= , n_bytes=3D0, idle_age=3D1927, priority=3D9,in_port=3D3 actions=3Dresubmit= (,25) cookie=3D0xb177d87a58ae18fe, duration=3D1927.891s, table=3D24, n_packets=3D= 0, n_bytes=3D0, idle_age=3D1927, priority=3D2,icmp6,in_port=3D3,icmp_type= =3D136,nd_target=3Dfe80::f816:3eff:fed3:2116 actions=3DNORMAL cookie=3D0xb177d87a58ae18fe, duration=3D1927.888s, table=3D24, n_packets=3D= 0, n_bytes=3D0, idle_age=3D1927, priority=3D2,arp,in_port=3D3,arp_spa=3D192= .168.100.13 actions=3Dresubmit(,25) cookie=3D0xb177d87a58ae18fe, duration=3D1927.896s, table=3D25, n_packets=3D= 0, n_bytes=3D0, idle_age=3D1927, priority=3D2,in_port=3D3,dl_src=3Dfa:16:3e= :d3:21:16 actions=3DNORMAL root@compute0:~# ovs-ofctl show br-int OFPT_FEATURES_REPLY (xid=3D0x2): dpid:0000caf6709a034a n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod= _dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst 1(int-br0): addr:7e:de:e2:7b:2a:83 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 2(patch-tun): addr:5a:2a:d3:f0:14:72 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 3(vhu2aae3928-3c): addr:00:00:00:00:00:00 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max Best Regards Xu Rongjie (Max) Best Regards Xu Rongjie (Max)