From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A0C0942335 for ; Mon, 9 Oct 2023 09:04:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1769D402A3; Mon, 9 Oct 2023 09:04:55 +0200 (CEST) Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by mails.dpdk.org (Postfix) with ESMTP id BE1A34021F for ; Mon, 9 Oct 2023 09:04:53 +0200 (CEST) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3993SRWb031809 for ; Mon, 9 Oct 2023 07:04:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=corp-2023-03-30; bh=7auKNX/k4+MOiGKtTDSO5FtW49x+ffI696AXijV8Ujc=; b=h1gJPyxqXIMJ/rgn5R/SnzMNU3aWoneLXbba0bb9ztTF885VgeqDQTNvDJrQxsFCCmIR FMevUZG17pOQTIxZ9bxBcEOxljKsITHNdIOrxXt1Z7lTHUEBCHdWGaEAnH3CU4BaE7c4 WPUwDNvMX57QtL3LaaHAjCdbXi+sY8k6g+Vo0rv+hoXjcNtBAdsldhcT1x/EFWgWBqRx V217QGs8yoeK9TQWSwYK1UVFbgMq0EG7WkZWxApfVDpaXa//j3kyas55a8GZE37lTB64 88x6xDZZWiV5OmgcqwoXRcU+sI+/HXg8M7kyR9bgT+ItRdf3pV+1N0651OnbMzgATuFb Zw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tjyvuj1ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 09 Oct 2023 07:04:52 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3996es8v029723 for ; Mon, 9 Oct 2023 07:04:51 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3tjwsa2fw8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 09 Oct 2023 07:04:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lGzXM6tsP2MuUIv/m5o0Ut4up5sqKF5+aVkWejUqOBjFQxzcBNQPHDd/9NVW7UqEbRuAg9DNtXTmNktlbzV8ZcqZwo3y1zfOVhd2F2HwpSTxxD+vxq1TLHDfoDmnASFD+enT+nhIJGVwMYwvL85oNzK1YT0S2SQds08pPrUfSxrES6mXW1LJLllexKZMnuNegtlu6WSSUcl2X9Pa+fm/vdxc2FhDKaV+HXCpqnRtoIXSZPTA8glZzTyk29Pw+FckSVpTbisJk7K9mmrMXma9P3Ytt5PqEmv4gjAYELNpFUS3csYHvyLr+rGVfVtX2zY/kuT2COvM8AJmathF4a6hrw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7auKNX/k4+MOiGKtTDSO5FtW49x+ffI696AXijV8Ujc=; b=J4JxZsZd6++zeAuio+3pTjAXuwhQphldn1gaaf9wXONc5vxpKqqYCkh31cUUWr13Nenb3e16aFNM1BBWOwVqWItVox8Li4y8NcxACN35vYZ0J7+p0s2NvJuiT3/PtksC1WWEP3c8pEUInQG987MCt1vLiHfEAABsgLM6UpCxTu8DR1oQyXc5XwUyvpxjwPH/7dGyxrpNIrHtiwRp9o7+ElW16u1tyWbehHy7oB4oGoehxAsUxli+GbMqKT5Mi3E5auyG9S3K0zMzDf45mi2nJ2LN/yWHhcaLiEj5xZ2ulXwBqbP9d0dek1SIRxUf1DrtNC2vq3WIFtC4H9leTG892g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7auKNX/k4+MOiGKtTDSO5FtW49x+ffI696AXijV8Ujc=; b=Zcig8XmHE3d6GpIMj+4X3RHdJINpfwlHpSmjf1h58Qqq7nIZjBrI4N95+sgSGtkXvLO5Cfau404FrxjFcHh8YJFkRNbrvDvRr0yWl0AK5xpZvC/o3F3mu5+jfhUYS38ry/91xiXbAHllsRtv/ZJZror/d7ZfqnuHBMDYyGJqKMk= Received: from CY4PR1001MB2056.namprd10.prod.outlook.com (2603:10b6:910:4a::20) by PH0PR10MB4485.namprd10.prod.outlook.com (2603:10b6:510:41::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.28; Mon, 9 Oct 2023 07:04:49 +0000 Received: from CY4PR1001MB2056.namprd10.prod.outlook.com ([fe80::f69e:f904:35ed:cb5]) by CY4PR1001MB2056.namprd10.prod.outlook.com ([fe80::f69e:f904:35ed:cb5%4]) with mapi id 15.20.6863.032; Mon, 9 Oct 2023 07:04:49 +0000 From: Kouilakonda Anudattu To: "users@dpdk.org" Subject: RE: net/tap: eBPF failed to load BPF section and failed to create flows for TAP device Thread-Topic: net/tap: eBPF failed to load BPF section and failed to create flows for TAP device Thread-Index: Adn6Z3GYeGaV+jzfR8SpHh1pDPze1gAE2SPg Date: Mon, 9 Oct 2023 07:04:49 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY4PR1001MB2056:EE_|PH0PR10MB4485:EE_ x-ms-office365-filtering-correlation-id: ddcdb551-67bb-40ce-abc1-08dbc896073e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KOyt6UXRWnS8BSU71XnTcmJkZC6eZWEeSudyOzsOwPDp3m38UdgE5H9BJHseaLYXiRlE+mmuQ8LD5hmxJmhixN5Pf+29C/h5Enz4TK+1DqqxBq78BCaFR6i1JR6tSzk1oXj42DBBHrqDp+bi4VHFzGowKdUH0Es7fBJje48sVP3Hkox3oUbIa2lmtdces9IGQ/9XK84Qbl8o/H0KAbu5CviRHM8pFfLZLbuXeWgDWsUKxAuIOY+y7fXJzpA1BcP8o1/jXgFjdTxPfdQe7Laf2iVzGGbJgd9i+5ioZzmQ3q6yA82k+a61BoSEYc/HVbLNQLE2j26YvVwdJ2fJO1iReMiX56S/9AiwKkkzhiadJeU3bnba/pJL0fK2dk0B26ohrnOsjlE9vIqlS7MQs7bkkztiRGAbWq56YQX6+p1etznLr360YkbyKPh91jis/adHhxzhxO68yocFoPNhSRD7R/vbHtmtYJabMHSLD+s0CmzrCtloLfwbLgCtLyNiiDi2Apd2Ebd618k/L4WtMghvmQISy324EnGoqRDC4f0vy3ycM7aiEwIHMXHB/fU0858Gdsase/wxbkFtp4sD97o3DA0i2VpTM3MTexq0qw1bhuvNYCn56KUI/67qxVhq9Gto x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1001MB2056.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(366004)(136003)(346002)(376002)(396003)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(9686003)(2940100002)(71200400001)(7696005)(6506007)(478600001)(53546011)(316002)(64756008)(8936002)(6916009)(66476007)(76116006)(66556008)(66446008)(66946007)(8676002)(41300700001)(26005)(5660300002)(52536014)(44832011)(122000001)(4744005)(2906002)(38100700002)(38070700005)(55016003)(33656002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9U+FXKM+A5qilr7ND2CxAHt69JlJv18q1lP2ZY83JJ1FYM7uOTQ1kJABdq2N?= =?us-ascii?Q?8MGR+JLYPZe8rk/OkhnKTba/wls5fV5+rOqgKoEd6iv/nYXHOlkc5nH02Vuu?= =?us-ascii?Q?4wnp8kwZB2xYtgdOrqf6JuwBRqDqGWc7/9RqynMCSwlIb7Ya88o+BiEBCiVO?= =?us-ascii?Q?z/yxp3dLMtWoO6DVEvWrAuPBAm7sOc240IG2nlU9DfGvjWsxCNnfk7vwdpn6?= =?us-ascii?Q?mt8rktDVQuqIWSyaLYVs3I/xXgAHgw2ggfgJZN9fIVP8Lf7oJ2aDABaQB2i7?= =?us-ascii?Q?1/EDRJe8wrhVVAHOOoDIZfGzBH+gnE+S4qu/wPECYRNRniH+y60dzKaL5eLP?= =?us-ascii?Q?qCkkG47NYdBB9ktM62HRcT/u7HcZk0zw+t3Csc1Wn22pKHnnm4jJTEBBuio6?= =?us-ascii?Q?x9kOWOBxKX0xUaLTt69AqxlWKp+HOCiIO6RuN5wc8RuFQmevvXCUjz/MrIU8?= =?us-ascii?Q?SyMBf6IwPuRWEYRuuYFMscfvC8lP10RjuaBwkKsE8awPR2orrJ0amgFZAgeF?= =?us-ascii?Q?nnxI0U+IkPdd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?us-ascii?Q?Z25IGFgcbfcGfOh/t1g4iWjT3mIK3r795QOrNoa21Z99A5kR6+NyBaPHbVaw?= =?us-ascii?Q?rODeceW5UbUXtQ1KkAnJN9MNEFF4MnGxs53y1N/aCkrTdc9Z1MtOqg7JX94G?= =?us-ascii?Q?XJZpdMMkzPi4gPNpKacX3myAdtLkrmTXr1aLO+jibLJ/eMprOO9KloDE1S55?= =?us-ascii?Q?9Q=3D=3D?= Content-Type: multipart/alternative; boundary="_000_CY4PR1001MB2056E873FC1C2D30FB7F3147FDCEACY4PR1001MB2056_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: z48uMNx/ZhZ8QVSkF6FyRIZPLU7us8BJ/l3Pz4b9mzcduaoegLrZN4p4Kd1Zi/eEMpmo2CA5c5EXj05Nh7kY5y7zAgmFc/o8mbVP/szK9uP0SRM64+viMcapz5XrQf3keKVnhpuSh9xbS7uduRmkzx+rYN8yGZ1PbHNQxZ2H6I8DL2FG91bo0iHsUqmxlML1SoL4MXTnWViC5f3WZjTy0YndC5CZxmPP0AZ6G07kjDsFBdq3zllsbX0q4HBtEBwmcbscc9/zskWB1vk3MYVNIrayypJCYep0U1/6/GoyRs+eX/rbWHS6KosA585Jf1GrcRLRhBAHdiIXuxJoLOH4/DRZ2dx6RJkOE4En/XgwPf3JOsjoOmM54rg0QjPyU0vMpUHJ/MMrioiQ8io2H8ZVNyrQMInTRMt1EiguA12Y7pUL5Fn93gYpDUyCYFTXhNzfYj0x/xXPZmNa0GpGaoK4jlY1M/54ZWQSmgz/ZinkOrNo31j8b7kmVfcKaTHFZkIvjlFxE7SWc1IrDnYwwy6bqOkPBD2RIVKmydtlbwmc6Ogp8kQRTyRzbif+VsPXTeKUXXPNkV9MrLUsytVeiZD/uDV0th2T6kU3J58eylxa26RlDHHnPzDjCYon1+738VLcq7AcbcemJ3GvC7M5sN1c4hJxmTLyS2wJDgoye3s4mbpkFXCL2S1BOcS5MVcND+5Yu/Hx/XFBTwV5aAb9aiBDkJ0EvcHcLq58dHgDDblMJf6x5t+FCk5HRgX2rWrkZrYN X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR1001MB2056.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddcdb551-67bb-40ce-abc1-08dbc896073e X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2023 07:04:49.4841 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dTokZ2YHpSYsWGha7goPGdrCKHu8NfT0xHQHBIVpzw4xU3dY1skWovBpsWp84sNx3qbAkxSw/MKbftMEjXC7hSlSF04UU05pQsoh0JlBXjY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4485 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_05,2023-10-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310090059 X-Proofpoint-ORIG-GUID: XlaAA7okkenKZMtz89lGTHffQaZAwF1e X-Proofpoint-GUID: XlaAA7okkenKZMtz89lGTHffQaZAwF1e X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_CY4PR1001MB2056E873FC1C2D30FB7F3147FDCEACY4PR1001MB2056_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm adding some additional details to provide more context. I'm encounterin= g this issue on Azure/Hyper-V platform with the existing DPDK-22.11.1 tap_b= pf_insns.h byte-code. Regards, Anudattu. From: Kouilakonda Anudattu Sent: Monday, October 9, 2023 9:48 AM To: users@dpdk.org Subject: [External] : net/tap: eBPF failed to load BPF section and failed t= o create flows for TAP device Hi All, With the latest Oracle EL9 with DPDK 22.11.1 version, I modified the RSS eB= PF C program and generated the structure of a C array in the 'tap_bpf_insns= .h' file. This array is in eBPF bytecode instructions format. However, even with new = bytecode eBPF failed to load TAP PMD with the following error: rss_add_actions(): Failed to load BPF section 'l3_l4' (7): Argument list to= o long. net_failsafe: Failed to create a flow on sub_device 1." Currently we are using below kernel: 5.15.0 #9 SMP PREEMPT x86_64 GNU/Linux How to resolve these errors ? Regards, Anudattu --_000_CY4PR1001MB2056E873FC1C2D30FB7F3147FDCEACY4PR1001MB2056_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I'm adding some additional details to provide more context. I'm encounterin= g this issue on Azure/Hyper-V platform with the existing DPDK-22.11.1 tap_b= pf_insns.h byte-code.

 

 

Regards,

Anudattu.

 

From: Kouilakonda Anudattu <kouilakonda.an= udattu@oracle.com>
Sent: Monday, October 9, 2023 9:48 AM
To: users@dpdk.org
Subject: [External] : net/tap: eBPF failed to load BPF section and f= ailed to create flows for TAP device

 

Hi All,

 

 

With the latest Oracle EL9 with DPDK 22.11.1 version= , I modified the RSS eBPF C program and generated the structure of a C arra= y in the 'tap_bpf_insns.h' file.

This array is in eBPF bytecode instructions format. = However, even with new bytecode eBPF failed to load TAP PMD with the follow= ing error:

 

rss_add_actions(): Failed to load BPF section 'l3= _l4' (7): Argument list too long.

net_failsafe: Failed to create a flow on sub_device = 1."

 

Currently we are using below kernel: 

5.15.0 #9 SMP PREEMPT

x86_64 GNU/Linux

 

How to resolve these errors ?

 

Regards,

Anudattu

 

 

--_000_CY4PR1001MB2056E873FC1C2D30FB7F3147FDCEACY4PR1001MB2056_--