From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E98D3A0093 for ; Tue, 19 May 2020 06:44:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 78CFC1D404; Tue, 19 May 2020 06:44:15 +0200 (CEST) Received: from mx0a-003cac01.pphosted.com (mx0a-003cac01.pphosted.com [205.220.161.93]) by dpdk.org (Postfix) with ESMTP id 6D47D1D16F for ; Tue, 19 May 2020 06:44:13 +0200 (CEST) Received: from pps.filterd (m0187213.ppops.net [127.0.0.1]) by mx0b-003cac01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04J4g5ew004030 for ; Mon, 18 May 2020 21:44:12 -0700 Authentication-Results: ppops.net; dkim=pass header.s=selector1 header.d=keysight.com Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2176.outbound.protection.outlook.com [104.47.55.176]) by mx0b-003cac01.pphosted.com with ESMTP id 312es5u8v6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 18 May 2020 21:44:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z9y16hpROdqRS+wWozYe5+lJt+1G0z/keSELlBLOuZUYb5CjBiyaUstnDBBdaTIJ5i1K8wO68u2H7gerFnZoyWmTjBWNwJTxNpQixBrQWpw6ttu9xI5ETDHNl1kn+mXSTBDtlPlw/2OAvxz4XOhZp84uoSnAPg2W8Qn7OjbiHqK4/qsskLrr1NOF4YODrRghbFYkTjLActf216rt66+CP4fZ8s61VKEHhS9yUJl/N4+BMru9euo8EiV7eYbdhbFd6BgTwQT++/ehppH8LqLvxd7qxnj/0+o3khxWSpZlt3aAx45doevqUsbealBH49mhgmsX5g8vYcVvWzF1t1xMmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w0CaUiEQcl1YPoDdit7x49aQ3rR6MUYznB20OkUDgCI=; b=EeMobsNyMW1G1c7UT8OGI3r+KNWKEiJc0jgtzwSPr3ugrCSp1I5VmiYuWrMhlRKp6/GWSCzMJNC6LOgZWR1AhAyincHFhS+ISVYqQflXKnUEUAyI8terV5baw2N+mm+zAJkpVpVDEBTPHNiz08MEfUPbXITvT0nzGq63Re5QBaf991+sxiCz3f1uIZCXINcxRRef8c4iRDLLBXzaOI9lavQseXxdo0d9/VKMC6vA1kj3NyIOGivOup6KI4w+DrBXB34XR9KdwXs/uZRD+F/KtoNWEeVoOKYmU4HJ3U72q09lDxlqgM+LB858sQTMSgo4bvg4BHpG2v5MaTyLJZMsJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=keysight.com; dmarc=pass action=none header.from=keysight.com; dkim=pass header.d=keysight.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=keysight.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w0CaUiEQcl1YPoDdit7x49aQ3rR6MUYznB20OkUDgCI=; b=V/i1n5luvCa3148swfc/hp+TEB/HbfM4QqEj12cq3RABSpzY2exnsp79GzdlB27iODE0HIoPv1xTmKLbCKUd1rqLcPZAoxX5xyaCzkxvX6XcRSf2bCfnao7c6qb8XZWXxPnwdB4BLkDOVWeZVKwx/E1GRTL4qWbLB+Bay8q8P2o= Received: from CH2PR17MB3782.namprd17.prod.outlook.com (2603:10b6:610:83::17) by CH2PR17MB3912.namprd17.prod.outlook.com (2603:10b6:610:8f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25; Tue, 19 May 2020 04:44:10 +0000 Received: from CH2PR17MB3782.namprd17.prod.outlook.com ([fe80::10b7:4ced:4446:bd6f]) by CH2PR17MB3782.namprd17.prod.outlook.com ([fe80::10b7:4ced:4446:bd6f%3]) with mapi id 15.20.3000.034; Tue, 19 May 2020 04:44:10 +0000 From: Anand Gupta To: "users@dpdk.org" Thread-Topic: [dpdk-users] API version mismatch error for intel XL710 Sriov when running multiple Pktgen DPDK in parallel for same PF. Thread-Index: AdYtlnLXDiNZ7WMFT6yN/watga+g5g== Date: Tue, 19 May 2020 04:44:10 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=keysight.com; x-originating-ip: [121.244.60.107] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f170aff4-e1ec-4285-afac-08d7fbaf45a6 x-ms-traffictypediagnostic: CH2PR17MB3912: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 040866B734 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fSa7tm+oJFRMglt47E4VnXDXx7c6mJiF/6zhr5VPu+kUBSE+iVZXKqrMO7lJ9xxxSoHwm4ZgZFzSj+3wcuC+yz8d6Ma2vbXBBozQFEs9tWt0u3mHH6+CLZbMpUha0A3m9Vqlhvr3Iq6yWpte31/W8LKtFUsAretD5DejPG6+5EbDFaWyc6Q7sebqiiEvgEzQS7N/T9EdRm1jiC54k3TfCcJzf5KCnZy8ahtXRnM8inFi7Byf5rukdrvZpEM2U0Af0qgp8JKedC3Xu2OCkDrMPhMSe8H6iy+88DsNST+KsSOLazhXJ54c4R2pHgNTCBUiqs6yXJV3Qy9Mi4pNXUrXSGXiVqHs+rZ/v3n/5EAHFOEtD8scGN+SpFlQgUqJWwQCkwqEYHucv89YgjEzuVd63+WJPDKrxIyd1HHBg0SFaM2uj3qno1kInKhaYruNh/lQ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR17MB3782.namprd17.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(396003)(376002)(39860400002)(346002)(366004)(9326002)(5660300002)(2906002)(52536014)(7696005)(76116006)(66946007)(316002)(33656002)(55016002)(8676002)(44832011)(6916009)(186003)(71200400001)(8936002)(9686003)(86362001)(26005)(478600001)(64756008)(66556008)(66476007)(66446008)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 5lG4vR44Ils/hhyzjpzxwZsWPw0AoJXg/A76PgJYcrXVZ2GLcanwfYQE/KZnaD87hMHUAqujr3I6gZj2Cgobk2uQRZGw+daSNOb7f8T4rvI7X9fw7/bF6h8wWi6Pa3ZQEdcQDQNQ2Yz0I9gbD3wu0aM2Cl8Y0JhiyeVlLhxqhUroD2GABDDPk5LlCnCnFfwoMnpHQxGoddfOlUfu0o7T0No0QF0TNFtwM1WFAfh4+RoEbNCh2JY1lxPAxejMmCldog/t/IyfYgVWzo6U9Grt1zAD8L5AbHkGH13CYaHTAGW5tQ3b15MErRKlSmYbGXH+copAsjCY8zr5N7hQtQoVuCS89cxAEIVoK3xee02UztTPwJB840vNssrDSi1lwXCqtR6z3vN6EFCtTj97bEwqFs03t02Z20sNOi4DHKU12gyoRWUeRfw7OJgwFtK+EmozrrxdC2Zp4h5mXX2cJuWwp4f+I9ZtXWQ6Yb2WFnSA4+FhFAyZ4OfcyZ81vEJV5wU4 x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: keysight.com X-MS-Exchange-CrossTenant-Network-Message-Id: f170aff4-e1ec-4285-afac-08d7fbaf45a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2020 04:44:10.1987 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 63545f27-3232-4d74-a44d-cdd457063402 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NtGzKorJvDOJFvF6Y28Q0ZYeP/A647/h/31IO7ZBS0FfUBg9UOt/MhiP+d1RUdah2CJy0iShPKX+u9T4D6f26gwm12JOdEe2MnkYuoCs2Qo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR17MB3912 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-19_01:2020-05-15, 2020-05-19 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 adultscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 spamscore=0 impostorscore=0 mlxlogscore=999 clxscore=1011 phishscore=0 cotscore=-2147483648 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005190040 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] API version mismatch error for intel XL710 Sriov when running multiple Pktgen DPDK in parallel for same PF. 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hello All, We are trying run Pktgen DPDK using intel XL710 in Sriov mode but facing an= error. Setup: Openstack . Host A and B contain Intel XL 710 card in back to back mode. NIC: Intel XL710 Driver info for PCI cards in Host: ethtool -i ens1f0 driver: i40e version: 1.4.25 firmware-version: 6.01 0x800036ea 1.1861.0 expansion-rom-version: bus-info: 0000:81:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes Sriov driver in VM: driver: iavf version: 3.7.61.20 firmware-version: N/A expansion-rom-version: bus-info: 0000:00:04.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no DPDK Version: 18.11.1 Pktgen Version: 3.7.1 Test scenario: 1. We are deploying multiple VMs in host A and B and doing Sriov passthr= ough. 2. Each VM contain a Sriov port from the same PF. 3. From both end Pktgen DPDK is running inside the VMs in parallel. 4. VMs in Host A are the sender and in Host B are receiver and are paire= d one to one i.e, VM0 in host A will send packets to VM0 in Host B and so o= n. Problem: 1. When we are running Pktgen DPDK in multiple VMs in parallel for say i= f we deploy 5 instances each in Host A and Host B then in some of the insta= nces we are getting error: i40evf_check_api_version(): PF/VF API version mismatch:(0.0)-(1.1) i40evf_init_vf(): check_api version failed EAL: Requested device 0000:00:04.0 cannot be used 1. From the kernel log in the host machine we get the following error of= the faulty VMs: 0000:81:00.0: Invalid message from VF 3, opcode 28, len 0 i40e 0000:81:00.0: Invalid message from VF 4, opcode 28, len 0 i40e 0000:81:00.0: VF 4 failed opcode 14, error: -5 i40e 0000:81:00.0: VF 3 failed opcode 14, error: -5 The Above problem does not repeat if we are running only one DPDK pktgen i.= e deploying only 1 VM in host A and host B. Could someone pls help me please regarding the issue. Thanks, Anand