From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00069.outbound.protection.outlook.com [40.107.0.69]) by dpdk.org (Postfix) with ESMTP id 17F171DE68 for ; Mon, 11 Jun 2018 13:20:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wDdmKx7Fm6W+umOJ3RyTbtaddKejgpEdbVh7eeRtLK0=; b=qZCHYkwZjHWTY0pMpBAwaLE6AFk4GC58edQJMim35Onrw+H7BoH8Aqf1cf42Nmzh0sYBCJ7OW36cq654MDTqqMU2fU5wY9IaZOeVFJ3iWsnTCV4KZ2AvKIFF2162o8tFzdhwtSLwFE1BEryF97p3ORvl/VaKoAQD/5vNsEKntZ4= Received: from DB5PR05MB1254.eurprd05.prod.outlook.com (10.162.157.140) by DB5PR05MB1160.eurprd05.prod.outlook.com (10.161.244.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.17; Mon, 11 Jun 2018 11:19:57 +0000 Received: from DB5PR05MB1254.eurprd05.prod.outlook.com ([fe80::40c5:ca67:87b6:fc5e]) by DB5PR05MB1254.eurprd05.prod.outlook.com ([fe80::40c5:ca67:87b6:fc5e%4]) with mapi id 15.20.0841.019; Mon, 11 Jun 2018 11:19:57 +0000 From: Raslan Darawsheh To: Tobias Urdin CC: "users@dpdk.org" Thread-Topic: mellanox connect-x 3 pro dpdk with openvswitch Thread-Index: AQHUAWS7R3W3niTO80uPqAeUNBbI0qRa6TIw Date: Mon, 11 Jun 2018 11:19:57 +0000 Message-ID: References: <0f588ff5d91447b6b985d48cfd263ff2@mb01.staff.ognet.se> <6cb79432e1f9415eb5ed8d99b2555ce4@mb01.staff.ognet.se> In-Reply-To: <6cb79432e1f9415eb5ed8d99b2555ce4@mb01.staff.ognet.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR05MB1160; 7:meCejuWJFoxx0/lVdWJr/afEQFN9PgjfdBJ50UjeNcxj0xAufVbCS86JNHIYe0YR1h7g1dA87A3H3Pz2Qqof5aBkqCJ7t0M1d0/4mdnTurUNVRBg5l/WR3hxfoV2CBWulD4HW0JGLx4xMWShPtyJQFmhjrcrkI8MDhT7q9Xcsf1aGSfjjBrCgy8wdcNy/znj/gvv2j3NUKshkbAiHQsHEDauOztWGbe9T0IbiuFfB93iAgS+R2z0Nr4q7uU2gC3k x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB5PR05MB1160; x-ms-traffictypediagnostic: DB5PR05MB1160: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:DB5PR05MB1160; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1160; x-forefront-prvs: 070092A9D3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(376002)(366004)(39860400002)(346002)(199004)(189003)(13464003)(53936002)(5660300001)(99286004)(26005)(316002)(6246003)(106356001)(9686003)(186003)(25786009)(102836004)(575784001)(7696005)(2900100001)(5250100002)(5890100001)(105586002)(478600001)(6916009)(86362001)(66066001)(53946003)(8936002)(2906002)(68736007)(446003)(345774005)(3660700001)(4326008)(97736004)(76176011)(93886005)(476003)(6506007)(6436002)(59450400001)(53546011)(14454004)(7736002)(33656002)(74316002)(81166006)(81156014)(55016002)(11346002)(3280700002)(229853002)(305945005)(8676002)(6116002)(3846002)(486006)(559001)(579004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1160; H:DB5PR05MB1254.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: anHw9RtxNfzXUXedDPPeg6QMvbkVysEa7vQD8ZeNj/FFx8CRMR+qBEJS/6cyrq8u7oA+WXfvz9uWnPq3dcTlalZZKvQWvpIBHsquRwBXx+yCHZtHDo348bZzc+seeGrlACqqJoi6z2qdnj/nHdHakvE7+5OE+S834p+ZgnSDh09gdHvG3eGW2w9nYP/Nm/I9 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d814027f-a539-4d5f-9766-08d5cf8d43a7 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d814027f-a539-4d5f-9766-08d5cf8d43a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2018 11:19:57.4287 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1160 Subject: Re: [dpdk-users] mellanox connect-x 3 pro dpdk with openvswitch 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: Mon, 11 Jun 2018 11:20:00 -0000 >>From what I'm seeing it looks like it didn't prop the MLX4 device at all.=20 Can you make sure you have it enabled in your DPDK package when you compile= d DPDK ? Kindest regards, Raslan Darawsheh -----Original Message----- From: Tobias Urdin [mailto:tobias.urdin@crystone.com]=20 Sent: Monday, June 11, 2018 2:16 PM To: Raslan Darawsheh Cc: users@dpdk.org Subject: Re: mellanox connect-x 3 pro dpdk with openvswitch Ok, here is the complete log when restarting the openvswitch-switch service= , see below. Also here is the kernel for information: $uname -r 4.4.0-127-generic 2018-06-11T11:13:42.729Z|00176|bridge|INFO|bridge br-mlx: deleted interface= br-mlx on port 65534 2018-06-11T11:13:43.274Z|00177|bridge|INFO|bridge br-= int: deleted interface br-int on port 65534 2018-06-11T11:13:43.275Z|00178|= bridge|INFO|bridge br-int: deleted interface int-br-ex on port 1 2018-06-11= T11:13:43.275Z|00179|bridge|INFO|bridge br-int: deleted interface patch-tun= on port 2 2018-06-11T11:13:43.762Z|00180|bridge|INFO|bridge br-tun: delete= d interface patch-int on port 1 2018-06-11T11:13:43.762Z|00181|bridge|INFO|= bridge br-tun: deleted interface br-tun on port 65534 2018-06-11T11:13:44.2= 31Z|00182|bridge|INFO|bridge br-ex: deleted interface br-ex on port 65534 2= 018-06-11T11:13:44.232Z|00183|bridge|INFO|bridge br-ex: deleted interface p= hy-br-ex on port 1 2018-06-11T11:13:45.245Z|00001|vlog|INFO|opened log file= /var/log/openvswitch/ovs-vswitchd.log 2018-06-11T11:13:45.252Z|00002|ovs_numa|INFO|Discovered 40 CPU cores on NUM= A node 0 2018-06-11T11:13:45.252Z|00003|ovs_numa|INFO|Discovered 40 CPU cor= es on NUMA node 1 2018-06-11T11:13:45.252Z|00004|ovs_numa|INFO|Discovered 2= NUMA nodes and 80 CPU cores 2018-06-11T11:13:45.252Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.= sock: connecting... 2018-06-11T11:13:45.252Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.= sock: connected 2018-06-11T11:13:45.256Z|00007|dpdk|INFO|Using DPDK 17.11.0 2018-06-11T11:1= 3:45.256Z|00008|dpdk|INFO|DPDK Enabled - initializing... 2018-06-11T11:13:45.256Z|00009|dpdk|INFO|No vhost-sock-dir provided - defau= lting to /var/run/openvswitch 2018-06-11T11:13:45.256Z|00010|dpdk|INFO|IOMM= U support for vhost-user-client disabled. 2018-06-11T11:13:45.256Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-me= m 1024,0 -c 0x00000001 2018-06-11T11:13:45.258Z|00012|dpdk|INFO|EAL: Detected 80 lcore(s) 2018-06-11T11:13:45.285Z|00013|dpdk|INFO|EAL: Probing VFIO support... 2018-06-11T11:13:45.285Z|00014|dpdk|INFO|EAL: VFIO support initialized 2018-06-11T11:13:48.214Z|00015|dpdk|INFO|EAL: PCI device 0000:01:00.0 on NU= MA socket 0 2018-06-11T11:13:48.214Z|00016|dpdk|INFO|EAL: probe driver: 8086:1521 net_e1000_igb 2018-06-11T11:13:48.214Z|00017|dpdk|INFO|EAL: PCI device 0000:01:00.1 on NU= MA socket 0 2018-06-11T11:13:48.214Z|00018|dpdk|INFO|EAL: probe driver: 8086:1521 net_e1000_igb 2018-06-11T11:13:48.214Z|00019|dpdk|INFO|EAL: PCI device 0000:18:00.0 on NU= MA socket 0 2018-06-11T11:13:48.214Z|00020|dpdk|INFO|EAL: probe driver: 8086:1572 net_i40e 2018-06-11T11:13:48.214Z|00021|dpdk|INFO|EAL: PCI device 0000:18:00.1 on NU= MA socket 0 2018-06-11T11:13:48.214Z|00022|dpdk|INFO|EAL: probe driver: 8086:1572 net_i40e 2018-06-11T11:13:48.214Z|00023|dpdk|INFO|DPDK pdump packet capture enabled = 2018-06-11T11:13:48.224Z|00024|dpdk|INFO|DPDK Enabled - initialized 2018-06-11T11:13:48.235Z|00025|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports recirculation 2018-06-11T11:13:48.235Z|00026|ofproto_dpif|INFO|netdev@ovs-netdev: VLAN he= ader stack length probed as 1 2018-06-11T11:13:48.235Z|00027|ofproto_dpif|INFO|netdev@ovs-netdev: MPLS la= bel stack length probed as 3 2018-06-11T11:13:48.235Z|00028|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports truncate action 2018-06-11T11:13:48.235Z|00029|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports unique flow ids 2018-06-11T11:13:48.235Z|00030|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports clone action 2018-06-11T11:13:48.235Z|00031|ofproto_dpif|INFO|netdev@ovs-netdev: Max sam= ple nesting level probed as 10 2018-06-11T11:13:48.235Z|00032|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports eventmask in conntrack action 2018-06-11T11:13:48.235Z|00033|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_clear action 2018-06-11T11:13:48.235Z|00034|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_state 2018-06-11T11:13:48.235Z|00035|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_zone 2018-06-11T11:13:48.235Z|00036|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_mark 2018-06-11T11:13:48.235Z|00037|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_label 2018-06-11T11:13:48.235Z|00038|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_state_nat 2018-06-11T11:13:48.235Z|00039|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_orig_tuple 2018-06-11T11:13:48.235Z|00040|ofproto_dpif|INFO|netdev@ovs-netdev: Datapath supports ct_orig_tuple6 2018-06-11T11:13:48.605Z|00041|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation 2018-06-11T11:13:48.605Z|00042|ofproto_dpif|INFO|system@ovs-system: VLAN he= ader stack length probed as 1 2018-06-11T11:13:48.605Z|00043|ofproto_dpif|INFO|system@ovs-system: MPLS la= bel stack length probed as 1 2018-06-11T11:13:48.605Z|00044|ofproto_dpif|INFO|system@ovs-system: Datapath does not support truncate action 2018-06-11T11:13:48.605Z|00045|ofproto_dpif|INFO|system@ovs-system: Datapath supports unique flow ids 2018-06-11T11:13:48.605Z|00046|ofproto_dpif|INFO|system@ovs-system: Datapath does not support clone action 2018-06-11T11:13:48.605Z|00047|ofproto_dpif|INFO|system@ovs-system: Max sam= ple nesting level probed as 3 2018-06-11T11:13:48.605Z|00048|ofproto_dpif|INFO|system@ovs-system: Datapath does not support eventmask in conntrack action 2018-06-11T11:13:48.605Z|00049|ofproto_dpif|INFO|system@ovs-system: Datapath does not support ct_clear action 2018-06-11T11:13:48.605Z|00050|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_state 2018-06-11T11:13:48.605Z|00051|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_zone 2018-06-11T11:13:48.605Z|00052|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_mark 2018-06-11T11:13:48.605Z|00053|ofproto_dpif|INFO|system@ovs-system: Datapath supports ct_label 2018-06-11T11:13:48.605Z|00054|ofproto_dpif|INFO|system@ovs-system: Datapath does not support ct_state_nat 2018-06-11T11:13:48.605Z|00055|ofproto_dpif|INFO|system@ovs-system: Datapath does not support ct_orig_tuple 2018-06-11T11:13:48.605Z|00056|ofproto_dpif|INFO|system@ovs-system: Datapath does not support ct_orig_tuple6 2018-06-11T11:13:48.981Z|00057|bri= dge|INFO|bridge br-mlx: added interface br-mlx on port 65534 2018-06-11T11:13:48.981Z|00058|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:48.981Z|00059|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:48.981Z|00060|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:48.982Z|00061|bridge|INFO|bridge= br-int: added interface br-int on port 65534 2018-06-11T11:13:48.982Z|0006= 2|bridge|INFO|bridge br-int: added interface int-br-ex on port 1 2018-06-11= T11:13:48.982Z|00063|bridge|INFO|bridge br-int: added interface patch-tun o= n port 2 2018-06-11T11:13:48.982Z|00064|bridge|INFO|bridge br-tun: added in= terface patch-int on port 1 2018-06-11T11:13:48.982Z|00065|bridge|INFO|brid= ge br-tun: added interface br-tun on port 65534 2018-06-11T11:13:48.982Z|00= 066|bridge|INFO|bridge br-ex: added interface br-ex on port 65534 2018-06-1= 1T11:13:48.982Z|00067|bridge|INFO|bridge br-ex: added interface phy-br-ex o= n port 1 2018-06-11T11:13:48.982Z|00068|bridge|INFO|bridge br-mlx: using da= tapath ID 000072528484a642 2018-06-11T11:13:48.982Z|00069|connmgr|INFO|br-mlx: added service controlle= r "punix:/var/run/openvswitch/br-mlx.mgmt" 2018-06-11T11:13:49.221Z|00070|bridge|INFO|bridge br-int: using datapath ID= 00006680927b6b40 2018-06-11T11:13:49.221Z|00071|connmgr|INFO|br-int: added service controlle= r "punix:/var/run/openvswitch/br-int.mgmt" 2018-06-11T11:13:49.221Z|00072|connmgr|INFO|br-int: added primary controlle= r "tcp:127.0.0.1:6633" 2018-06-11T11:13:49.221Z|00073|rconn|INFO|br-int<->tcp:127.0.0.1:6633: connecting... 2018-06-11T11:13:49.460Z|00074|bridge|INFO|bridge br-tun: using datapath ID= 000066532e5f0443 2018-06-11T11:13:49.461Z|00075|connmgr|INFO|br-tun: added service controlle= r "punix:/var/run/openvswitch/br-tun.mgmt" 2018-06-11T11:13:49.461Z|00076|connmgr|INFO|br-tun: added primary controlle= r "tcp:127.0.0.1:6633" 2018-06-11T11:13:49.461Z|00077|rconn|INFO|br-tun<->tcp:127.0.0.1:6633: connecting... 2018-06-11T11:13:49.692Z|00078|bridge|INFO|bridge br-ex: using datapath ID = 0000e2d1bdbe8e45 2018-06-11T11:13:49.692Z|00079|connmgr|INFO|br-ex: added service controller= "punix:/var/run/openvswitch/br-ex.mgmt" 2018-06-11T11:13:49.692Z|00080|connmgr|INFO|br-ex: added primary controller= "tcp:127.0.0.1:6633" 2018-06-11T11:13:49.692Z|00081|rconn|INFO|br-ex<->tcp:127.0.0.1:6633: connecting... 2018-06-11T11:13:49.916Z|00082|timeval|WARN|Unreasonably long 4661ms poll i= nterval (16ms user, 4472ms system) 2018-06-11T11:13:49.916Z|00083|timeval|WARN|faults: 3584706 minor, 0 major 2018-06-11T11:13:49.916Z|00084|timeval|WARN|disk: 0 reads, 16 writes 2018-0= 6-11T11:13:49.916Z|00085|timeval|WARN|context switches: 147 voluntary, 25 i= nvoluntary 2018-06-11T11:13:49.916Z|00086|coverage|INFO|Event coverage, avg= rate over last: 5 seconds, last minute, last hour, hash=3D2ba35161: 2018-06-11T11:13:49.916Z|00087|coverage|INFO|bridge_reconfigure =20 0.0/sec 0.000/sec 0.0000/sec total: 1 2018-06-11T11:13:49.916Z|00088|coverage|INFO|ofproto_flush =20 0.0/sec 0.000/sec 0.0000/sec total: 4 2018-06-11T11:13:49.916Z|00089|coverage|INFO|ofproto_update_port =20 0.0/sec 0.000/sec 0.0000/sec total: 8 2018-06-11T11:13:49.916Z|00090|coverage|INFO|rev_flow_table =20 0.0/sec 0.000/sec 0.0000/sec total: 1 2018-06-11T11:13:49.916Z|00091|coverage|INFO|cmap_expand =20 0.0/sec 0.000/sec 0.0000/sec total: 52 2018-06-11T11:13:49.916Z|00092|coverage|INFO|cmap_shrink =20 0.0/sec 0.000/sec 0.0000/sec total: 23 2018-06-11T11:13:49.916Z|00093|coverage|INFO|dpif_port_add =20 0.0/sec 0.000/sec 0.0000/sec total: 1 2018-06-11T11:13:49.916Z|00094|coverage|INFO|dpif_flow_flush =20 0.0/sec 0.000/sec 0.0000/sec total: 6 2018-06-11T11:13:49.916Z|00095|coverage|INFO|dpif_flow_get =20 0.0/sec 0.000/sec 0.0000/sec total: 29 2018-06-11T11:13:49.916Z|00096|coverage|INFO|dpif_flow_put =20 0.0/sec 0.000/sec 0.0000/sec total: 37 2018-06-11T11:13:49.916Z|00097|coverage|INFO|dpif_flow_del =20 0.0/sec 0.000/sec 0.0000/sec total: 29 2018-06-11T11:13:49.916Z|00098|coverage|INFO|dpif_execute =20 0.0/sec 0.000/sec 0.0000/sec total: 8 2018-06-11T11:13:49.916Z|00099|coverage|INFO|flow_extract =20 0.0/sec 0.000/sec 0.0000/sec total: 6 2018-06-11T11:13:49.916Z|00100|coverage|INFO|miniflow_malloc =20 0.0/sec 0.000/sec 0.0000/sec total: 34 2018-06-11T11:13:49.916Z|00101|coverage|INFO|hmap_expand =20 0.0/sec 0.000/sec 0.0000/sec total: 498 2018-06-11T11:13:49.916Z|00102|coverage|INFO|netdev_received =20 0.0/sec 0.000/sec 0.0000/sec total: 1 2018-06-11T11:13:49.916Z|00103|coverage|INFO|netdev_get_stats =20 0.0/sec 0.000/sec 0.0000/sec total: 8 2018-06-11T11:13:49.916Z|00104|coverage|INFO|poll_create_node =20 0.0/sec 0.000/sec 0.0000/sec total: 23 2018-06-11T11:13:49.916Z|00105|coverage|INFO|seq_change =20 0.0/sec 0.000/sec 0.0000/sec total: 2193 2018-06-11T11:13:49.916Z|00106|coverage|INFO|pstream_open =20 0.0/sec 0.000/sec 0.0000/sec total: 9 2018-06-11T11:13:49.916Z|00107|coverage|INFO|stream_open =20 0.0/sec 0.000/sec 0.0000/sec total: 4 2018-06-11T11:13:49.916Z|00108|coverage|INFO|util_xalloc =20 0.0/sec 0.000/sec 0.0000/sec total: 12803 2018-06-11T11:13:49.916Z|00109|coverage|INFO|vconn_open =20 0.0/sec 0.000/sec 0.0000/sec total: 3 2018-06-11T11:13:49.916Z|00110|coverage|INFO|netdev_set_policing =20 0.0/sec 0.000/sec 0.0000/sec total: 4 2018-06-11T11:13:49.916Z|00111|coverage|INFO|netdev_get_ifindex =20 0.0/sec 0.000/sec 0.0000/sec total: 4 2018-06-11T11:13:49.916Z|00112|coverage|INFO|netdev_get_hwaddr =20 0.0/sec 0.000/sec 0.0000/sec total: 9 2018-06-11T11:13:49.916Z|00113|coverage|INFO|netdev_get_ethtool =20 0.0/sec 0.000/sec 0.0000/sec total: 2 2018-06-11T11:13:49.916Z|00114|coverage|INFO|netlink_received =20 0.0/sec 0.000/sec 0.0000/sec total: 85 2018-06-11T11:13:49.916Z|00115|coverage|INFO|netlink_recv_jumbo =20 0.0/sec 0.000/sec 0.0000/sec total: 1 2018-06-11T11:13:49.916Z|00116|coverage|INFO|netlink_sent =20 0.0/sec 0.000/sec 0.0000/sec total: 102 2018-06-11T11:13:49.916Z|00117|coverage|INFO|74 events never hit 2018-06-11= T11:13:49.916Z|00118|poll_loop|INFO|wakeup due to [POLLIN] on fd 433 (FIFO = pipe:[1025715]) at ../lib/ovs-rcu.c:229 (97% CPU usage) 2018-06-11T11:13:49= .917Z|00119|poll_loop|INFO|wakeup due to [POLLIN] on fd 433 (FIFO pipe:[102= 5715]) at ../lib/ovs-rcu.c:229 (97% CPU usage) 2018-06-11T11:13:49.917Z|001= 20|poll_loop|INFO|wakeup due to 0-ms timeout at ../lib/ovs-rcu.c:229 (97% C= PU usage) 2018-06-11T11:13:49.917Z|00121|poll_loop|INFO|wakeup due to 0-ms = timeout at ../lib/ovs-rcu.c:229 (97% CPU usage) 2018-06-11T11:13:49.920Z|00122|rconn|INFO|br-int<->tcp:127.0.0.1:6633: connected 2018-06-11T11:13:49.920Z|00123|rconn|INFO|br-tun<->tcp:127.0.0.1:6633: connected 2018-06-11T11:13:49.920Z|00124|rconn|INFO|br-ex<->tcp:127.0.0.1:6633: connected 2018-06-11T11:13:49.926Z|00125|poll_loop|INFO|wakeup due to [POLLIN] on fd = 10 (NETLINK_ROUTE<->NETLINK_ROUTE) at ../lib/netlink-socket.c:1331 (97% CPU= usage) 2018-06-11T11:13:49.926Z|00126|poll_loop|INFO|wakeup due to [POLLIN= ] on fd 421 (character device /dev/net/tun) at ../lib/netdev-linux.c:1171 (= 97% CPU usage) 2018-06-11T11:13:49.926Z|00127|poll_loop|INFO|wakeup due to = [POLLIN] on fd 423 (127.0.0.1:33712<->127.0.0.1:6633) at ../lib/stream-fd.c= :157 (97% CPU usage) 2018-06-11T11:13:49.926Z|00128|poll_loop|INFO|wakeup d= ue to [POLLIN] on fd 428 (127.0.0.1:33714<->127.0.0.1:6633) at ../lib/strea= m-fd.c:157 (97% CPU usage) 2018-06-11T11:13:49.926Z|00129|poll_loop|INFO|wa= keup due to [POLLIN] on fd 11 (<->/var/run/openvswitch/db.sock) at ../lib/s= tream-fd.c:157 (97% CPU usage) 2018-06-11T11:13:49.926Z|00130|poll_loop|INF= O|wakeup due to [POLLIN] on fd 429 (127.0.0.1:33716<->127.0.0.1:6633) at ..= /lib/stream-fd.c:157 (97% CPU usage) 2018-06-11T11:13:49.930Z|00131|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:49.930Z|00132|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:49.930Z|00133|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:49.931Z|00134|bridge|INFO|ovs-vs= witchd (Open vSwitch) 2.9.0 2018-06-11T11:13:53.662Z|00135|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.662Z|00136|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.662Z|00137|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.675Z|00138|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.675Z|00139|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.675Z|00140|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.682Z|00141|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.682Z|00142|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.682Z|00143|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.693Z|00144|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.693Z|00145|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.693Z|00146|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.705Z|00147|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.705Z|00148|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.705Z|00149|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.711Z|00150|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.711Z|00151|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.711Z|00152|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.717Z|00153|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.717Z|00154|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.717Z|00155|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.728Z|00156|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.728Z|00157|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.728Z|00158|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.743Z|00159|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.743Z|00160|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.743Z|00161|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.749Z|00162|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.749Z|00163|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.749Z|00164|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.756Z|00165|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.756Z|00166|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.756Z|00167|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:53.766Z|00168|dpdk|ERR|EAL: Unable to find a bus for the d= evice 'mlx4_0' 2018-06-11T11:13:53.766Z|00169|netdev_dpdk|WARN|Error attaching device 'mlx= 4_0' to DPDK 2018-06-11T11:13:53.766Z|00170|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T11:13:55.270Z|00171|memory|INFO|1406100 kB peak resident set siz= e after 10.0 seconds 2018-06-11T11:13:55.270Z|00172|memory|INFO|handlers:118 ofconns:3 ports:8 revalidators:42 rules:36 udpif keys:1 2018-06-11T11:14:03.699Z|00173|connmgr|INFO|br-int<->tcp:127.0.0.1:6633: 5 flow_mods 10 s ago (5 adds) 2018-06-11T11:14:03.737Z|00174|connmgr|INFO|br-ex<->tcp:127.0.0.1:6633: 2 flow_mods 10 s ago (2 adds) 2018-06-11T11:14:03.773Z|00175|connmgr|INFO|br-tun<->tcp:127.0.0.1:6633: 12 flow_mods 10 s ago (12 adds) Best regards On 06/11/2018 12:57 PM, Raslan Darawsheh wrote: > What I really want to see is the init process for OVS-DPDK that dumps the= DPDK initialization. > I think you will find it at the beginning of the log that you just sent. > > Kindest regards, > Raslan Darawsheh > > -----Original Message----- > From: Tobias Urdin [mailto:tobias.urdin@crystone.com] > Sent: Monday, June 11, 2018 1:00 PM > To: Raslan Darawsheh > Cc: users@dpdk.org > Subject: Re: mellanox connect-x 3 pro dpdk with openvswitch > > Hello Raslan, > Thank you for your reply. > > For reference the br-mlx bridge was created like this: > $ovs-vsctl add-br br-mlx -- set bridge br-mlx datapath_type=3Dnetdev > > $ovs-vsctl add-port br-mlx enp59s0d1 -- set Interface enp59s0d1=20 > type=3Ddpdk options:dpdk-devargs=3Dmlx4_0 > ovs-vsctl: Error detected while setting up 'enp59s0d1': Error attaching d= evice 'mlx4_0' to DPDK. See ovs-vswitchd log for details. > ovs-vsctl: The default log directory is "/var/log/openvswitch". > > In the ovs-vswitchd.log > 2018-06-11T09:56:20.613Z|00185|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:56:20.613Z|00186|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:56:20.613Z|00187|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > > Here is the complete log after restarting openvswitch-switch service: > 2018-06-11T09:57:49.380Z|00134|bridge|INFO|ovs-vswitchd (Open vSwitch)=20 > 2.9.0 > 2018-06-11T09:57:52.812Z|00135|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.812Z|00136|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.812Z|00137|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.825Z|00138|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.825Z|00139|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.825Z|00140|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.832Z|00141|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.832Z|00142|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.832Z|00143|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.843Z|00144|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.843Z|00145|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.843Z|00146|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.856Z|00147|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.856Z|00148|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.856Z|00149|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.862Z|00150|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.862Z|00151|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.862Z|00152|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.870Z|00153|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.870Z|00154|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.870Z|00155|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.889Z|00156|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.889Z|00157|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.889Z|00158|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.903Z|00159|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.903Z|00160|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.903Z|00161|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.908Z|00162|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.908Z|00163|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.908Z|00164|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.914Z|00165|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.914Z|00166|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.914Z|00167|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:52.923Z|00168|dpdk|ERR|EAL: Unable to find a bus for the= device 'mlx4_0' > 2018-06-11T09:57:52.923Z|00169|netdev_dpdk|WARN|Error attaching device=20 > 'mlx4_0' to DPDK > 2018-06-11T09:57:52.923Z|00170|netdev|WARN|enp59s0d1: could not set=20 > configuration (Invalid argument) > 2018-06-11T09:57:54.808Z|00171|memory|INFO|1406100 kB peak resident=20 > set size after 10.1 seconds > 2018-06-11T09:57:54.808Z|00172|memory|INFO|handlers:118 ofconns:3 > ports:8 revalidators:42 rules:36 udpif keys:1 > 2018-06-11T09:58:02.850Z|00173|connmgr|INFO|br-int<->tcp:127.0.0.1:6633: > 5 flow_mods 10 s ago (5 adds) > 2018-06-11T09:58:02.898Z|00174|connmgr|INFO|br-ex<->tcp:127.0.0.1:6633: > 2 flow_mods 10 s ago (2 adds) > 2018-06-11T09:58:02.930Z|00175|connmgr|INFO|br-tun<->tcp:127.0.0.1:6633: > 12 flow_mods 10 s ago (12 adds) > > Was that what you mean by init log? > Best regards > > On 06/11/2018 11:51 AM, Raslan Darawsheh wrote: >> Hi Tobias, >> >> Can you try using the following ? >> >> ovs-vsctl add-port br-mlx enp59s0d1 -- set Interface enp59s0d1=20 >> type=3Ddpdk options:dpdk-devargs=3Dmlx4_0 >> >> if it didn't work can you send the OVS-DPDK init log ? >> >> Kindest regards, >> Raslan Darawsheh >> >> -----Original Message----- >> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Tobias Urdin >> Sent: Monday, June 11, 2018 12:15 PM >> To: users@dpdk.org >> Subject: [dpdk-users] mellanox connect-x 3 pro dpdk with openvswitch >> >> Hello, >> >> I'm stuck trying to test DPDK with a Mellanox Connect-X 3 Pro card on=20 >> Ubuntu 16.04 >> >> I've enabled iommu, fixed hugepages and has installed and are running th= e openvswitch-switch-dpdk alternative. >> >> $lspci | grep -i mellanox >> 3b:00.0 Ethernet controller: Mellanox Technologies MT27520 Family >> [ConnectX-3 Pro] >> >> $lsmod | grep -i mlx >> mlx4_en 110592 0 >> vxlan 49152 2 i40e,mlx4_en >> mlx4_core 286720 1 mlx4_en >> ptp 20480 3 igb,i40e,mlx4_en >> >> $cat /etc/modprobe.d/mlx4_core.conf >> options mlx4_core log_num_mgm_entry_size=3D-1 >> >> >> $ovs-vsctl add-port br-mlx dpdk0 -- set Interface dpdk0 type=3Ddpdk >> >> Bridge br-mlx >> Port "dpdk0" >> Interface "dpdk0" >> type: dpdk >> error: "'dpdk0' is missing 'options:dpdk-devargs'. The o= ld 'dpdk' names are not supported" >> >> >> $ovs-vsctl add-port br-mlx enp59s0d1 -- set Interface enp59s0d1=20 >> type=3Ddpdk options:dpdk-devargs=3D0000:3b:00.0,1 >> ovs-vsctl: Error detected while setting up 'enp59s0d1': Error attaching = device '0000:3b:00.0,1' to DPDK. See ovs-vswitchd log for details. >> ovs-vsctl: The default log directory is "/var/log/openvswitch". >> >> 2018-06-11T09:10:38.696Z|00177|netdev_dpdk|WARN|Error attaching=20 >> device '0000:3b:00.0,1' to DPDK >> 2018-06-11T09:10:38.696Z|00178|netdev|WARN|enp59s0d1: could not set=20 >> configuration (Invalid argument) >> >> 2018-06-11T09:12:50.994Z|00181|dpdk|ERR|EAL: Driver cannot attach the=20 >> device (0000:3b:00.0) >> 2018-06-11T09:12:50.994Z|00182|dpdk|ERR|EAL: No port found for device >> (0000:3b:00.0) 2018-06-11T09:12:50.994Z|00183|netdev_dpdk|WARN|Error >> attaching device '0000:3b:00.0,1' to DPDK >> 2018-06-11T09:12:50.994Z|00184|netdev|WARN|enp59s0d1: could not set=20 >> configuration (Invalid argument) >> >> $ovs-vsctl add-port br-mlx dpdk0 -- set Interface dpdk0 type=3Ddpdk opti= ons:dpdk-devargs=3D"class=3Deth,mac=3Dec:0d:9a:b0:13:21" >> ovs-vsctl: Error detected while setting up 'dpdk0': Error attaching devi= ce 'class=3Deth,mac=3Dec:0d:9a:b0:13:21' to DPDK. See ovs-vswitchd log for= details. >> ovs-vsctl: The default log directory is "/var/log/openvswitch". >> >> Port "dpdk0" >> Interface "dpdk0" >> type: dpdk >> options: {dpdk-devargs=3D"class=3Deth,mac=3Dec:0d:9a:b0:= 13:21"} >> error: "Error attaching device 'class=3Deth,mac=3Dec:0d:= 9a:b0:13:21' to DPDK" >> >> >> Anybody know what I might have missed? I have tried restarting the openv= switch services after adding the interfaces as well but no difference. >> >> The logs doesn't say anything interesting from what I can see :( >> >> Best regards >> >