From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30117.outbound.protection.outlook.com [40.107.3.117]) by dpdk.org (Postfix) with ESMTP id E12A41BE82 for ; Wed, 27 Jun 2018 10:31:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cgstowernetworks.onmicrosoft.com; s=selector1-cgstowernetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4DgjWhYird8aUebY0coNFwVxKNjPqjUr4v5fFcbukYo=; b=Oa8vraKiCRWHNFAEU91qRwzkX4ltM0ePoLQno2JYZq15guAX5rc3T6ljBahAEhtuZlrntBWOKEmuKbQEbhYcSC6/ro22rQlAyh8D0I108hM7cc6yXt1lE04MIKK/VXsjoZIxPVcB4K2KYUVjq7HAd8mZ7cbG8A445G3E0jWA7gA= Received: from VI1PR0901MB1294.eurprd09.prod.outlook.com (10.167.211.144) by VI1PR0901MB1568.eurprd09.prod.outlook.com (10.173.76.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.20; Wed, 27 Jun 2018 08:31:04 +0000 Received: from VI1PR0901MB1294.eurprd09.prod.outlook.com ([fe80::444e:aca3:54d7:1d81]) by VI1PR0901MB1294.eurprd09.prod.outlook.com ([fe80::444e:aca3:54d7:1d81%3]) with mapi id 15.20.0884.025; Wed, 27 Jun 2018 08:31:04 +0000 From: Ido Goshen To: Ferruh Yigit CC: "dev@dpdk.org" Thread-Topic: [PATCH] ethdev: force offloading API rules Thread-Index: AdQN8B6p4kipvkgsRgyOxEvJpjnOCw== Date: Wed, 27 Jun 2018 08:31:04 +0000 Message-ID: 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=Ido@cgstowernetworks.com; x-originating-ip: [81.218.57.230] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0901MB1568; 7:jssbK91WZgUrsCEfJUYd5LbhHObwAoRfOyKtuMq2qbcPl6IFSaRMDlO+zrghq2quhNZT4B2k/uRZh/bU3WeGULD1SBKmmWLYzsgzsuuU0wEELNA451egOHE9ertOda8WGcv2XX8q56y6tPPFRr3Vm4JpNG2yABROdIJH6yTM09/L1V6smq45X1FtalCxN3VyfKyj68qyKZnAFgSu9rjD1wWqXWk4RXiE03mdz4Srg7KQtLFn8aoLdhc0hr2fq4zN x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 904f8e78-341f-4128-720e-08d5dc08527d x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(8989117)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:VI1PR0901MB1568; x-ms-traffictypediagnostic: VI1PR0901MB1568: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123562045)(2016111802025)(20161123564045)(6072148)(6043046)(201708071742011)(7699016); SRVR:VI1PR0901MB1568; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0901MB1568; x-forefront-prvs: 0716E70AB6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(39840400004)(136003)(396003)(199004)(189003)(6116002)(6436002)(3846002)(6306002)(54896002)(55016002)(74316002)(486006)(6916009)(99286004)(316002)(7736002)(478600001)(53936002)(4326008)(256004)(476003)(5660300001)(86362001)(25786009)(790700001)(2900100001)(105586002)(7696005)(14454004)(6506007)(66066001)(102836004)(33656002)(81156014)(8676002)(81166006)(80792005)(2906002)(68736007)(5250100002)(106356001)(8936002)(72206003)(186003)(9686003)(1857600001)(97736004)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0901MB1568; H:VI1PR0901MB1294.eurprd09.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cgstowernetworks.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: QWFnM3A8On1gVo7ZPM5nzkQNT4G/bCdUn5sdKvjNFhbNzeSVoOjKbVsRpIL/A/w/a0YJPm/tr0ge4uCRBd7KM7v/0KD44+4IXX3UjwoyBVzwwowWdipYNUz5RDp7SErB9bClrFykhFdHTAbe8TJJDARlH6rCrxuqs6FRSWmsh6n3idqp1oZa21SgDOVEejTqY7ku9gpXm1AXSVRByluNlilNvVmBVlYAHW67wIc1Cryewc33ycb3A/l15blNwwde/mTqkv0HVjaAqdcS6LDrrer+hBHeQ5kHxsh74m2HbB92AAMTm7be/SgpCVgPi40dZagBaiHGEps/ZzdKYqtjMLMRRffKGBw5Va5qnitT0qg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: cgstowernetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 904f8e78-341f-4128-720e-08d5dc08527d X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2018 08:31:04.3501 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fc9e9498-07e8-4b82-b4cf-365bba23cbbf X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0901MB1568 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PATCH] ethdev: force offloading API rules X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 08:31:07 -0000 I guess the error below relates to f52f1a6 ethdev: force offloading API rul= es cgs@ubuntu:~/dpdk-next-net$ sudo examples/l2fwd/build/l2fwd -c 3 -n1 --no-h= uge --vdev=3Deth_pcap0,iface=3Ddummy0 --vdev=3Deth_pcap1,iface=3Ddummy1 --= -p 3 -T 1 EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Probing VFIO support... EAL: Started without hugepages support, physical addresses not available EAL: PCI device 0000:02:01.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:100f net_e1000_em EAL: PCI device 0000:02:06.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:100f net_e1000_em MAC updating enabled Lcore 0: RX port 0 Lcore 1: RX port 1 Initializing port 0... ethdev port_id=3D0 requested Rx offloads 0x1000 does= n't match Rx offloads capabilities 0x0 in rte_eth_dev_configure() EAL: Error - exiting with code: 1 Cause: Cannot configure device: err=3D-22, port=3D0 Please advice