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 EFB2B42333 for ; Mon, 9 Oct 2023 06:18:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5CDD402D4; Mon, 9 Oct 2023 06:18:13 +0200 (CEST) Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by mails.dpdk.org (Postfix) with ESMTP id B5E80402D4 for ; Mon, 9 Oct 2023 06:18:10 +0200 (CEST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 398Nrkp6012203 for ; Mon, 9 Oct 2023 04:18:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : mime-version; s=corp-2023-03-30; bh=dqZNbqkZqx1uQSpjQjwrRJ3LST+LXzmeTsGmSmPTTow=; b=ZybjQ/PIL1gOvno9x1Ltkn4sCPO/RDstOhCd8yfSu4ny4RkFJG0Fb/DqDIuwQkWnMSbQ TH2EHPfTXerbakrsb41mR7ln0jhKRh79YozjO46LFzm+1QQkBgQhb2qnj69sFadd0N8g Yd3Mu5qtsWQ3/wZnd0l1RFiq5R2yEfWtyiCnCKy9jxGoidQs0SXmvAe1L/5bCvZf7/1w iPI3lbkebmHguuQ0iTpdR8ifHKNaEN9YT1Uz5IK6unS/W9gXusWpF9Wf2LnZ+vJeWK4b dKVlEJLaAiJ+Xevht8GfB+Yvk+UIS2qFoJfyahrukXuXbcNgbwZC2stWftIUu/EnGBiW WA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tjx8c9w9g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 09 Oct 2023 04:18:09 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3993j2ZF020754 for ; Mon, 9 Oct 2023 04:18:08 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3tjwsa4v3c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 09 Oct 2023 04:18:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j3cmXqmZokilUm//HgMIz4i8AnIn9YakFQf6h5X1HUljFsjfmXSfCy5d4Of0X4BqZWqVerHxeZbKrJNDbbnnaIB3F6zMlZyLKE481jXDz9wwgJkyj3/P/mXVAuIAYrcZlYPXfnuolz2q+6+VlDV//4s2xKpC78SkBZINA5gixXJVvy/qHm+UKYNCgPmtE28bUk3qzPNui6IHEppV2SGyfgvm7qY+x7xw14xJxDjJalyRv74Y0aNVjrRbsMm+CE4DzRl0+4ecYM4i5P5jHA8sPSncnGLzW7TCgCDMi+0h/EpnxiXhP5j+/gciLFDuXVslljTZLztUwNUGYgMN/0w39w== 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=dqZNbqkZqx1uQSpjQjwrRJ3LST+LXzmeTsGmSmPTTow=; b=mhAosvj8WqmfrSPgVnkW4N3S/Pff/RzLGkzHI+oioQ618hLB2iDfuOlr9bxw5He3+dTK2OghVNrY6RjALM+QlYHwQYWJ38Yo/pscSz30FWMFJGtUzEOJuNAAv2vn7U4GivzAVn/9RqyEbOYCS+R5s0vhPlWloJYcUZ1jRwgIJ4Qo3kFRh2BZ8Q8SWiJkE4Lfuy2OhquDugfhckNKI2xo9Sv2HDxfzBMUxEryrk7oT3DpatuXFTL08sDRCIZL1CwWYElYvHsszF5BRxCdbz9b8+4p13h/BqeaRkyar6Kxz4DuT35XhRRxlZaGnBCWdqBn7y/S3ZDx1oV8RK4/mfi2cg== 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=dqZNbqkZqx1uQSpjQjwrRJ3LST+LXzmeTsGmSmPTTow=; b=QYuhflmmw0y12yUACrveoa/8+QxTkB3PRts14dHMp2IksCUxiukVx9r1s5He3hPlYwA/i7KjiTnBwbvJ+fpIfHUwEUBwPwDZN1FR6Zw1G1914trLL5x2lmSlq8pu5zBBNe2NpYo3ly0HnTid7W2qVkOTrZ/14sklU8k+VldtwHw= Received: from CY4PR1001MB2056.namprd10.prod.outlook.com (2603:10b6:910:4a::20) by CH3PR10MB7931.namprd10.prod.outlook.com (2603:10b6:610:1cf::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.43; Mon, 9 Oct 2023 04:18:06 +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 04:18:06 +0000 From: Kouilakonda Anudattu To: "users@dpdk.org" Subject: 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+jzfR8SpHh1pDPze1g== Date: Mon, 9 Oct 2023 04:18:06 +0000 Message-ID: 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_|CH3PR10MB7931:EE_ x-ms-office365-filtering-correlation-id: e148cfd5-979b-4de1-08a6-08dbc87ebcfd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +8pvMPg/BzXDUx4iZfpXAIIpD5qG6IzJzCIDAdH4x4AklkPTC+DsbvTIuQ1UcqgedmkEjj5ueCRNbXATyst5GjSWda0ZWKmQsUtJ76SpSdNk6yOM6NAJi+AIPKM5c4wM3ofhLsStbKiTI7ZVenC8crgBRMyZDYwqlvFUlunGTuOJjtDEPuMdIaYjrHksQBR+nu+9SbwPyHTp1ne6xPXry8TX5NkBpYhC1pbwyNAR2uEUR5ZPUO0QsZuSGtYnGW/jn2EcIZl2U5YFmBVnfMk/mYKzZ24RjQhNLrTNFa2qSAL4qLoD1fufu+qnBpHd3VwluLpHAsoH6wpiSCntG4tLSPaSbGguiGfAdZ5hm9kWQwlHUvscoa0d20/qbaIcI7VD256VjS2lIhAnkfDu5ftqW76zP/VRboyc0BiURx7gUQ+/JKhGhOCQdSq+/hSqAETtJDspMZ+2kZjgnWgkJdHwcnpnYFl+vuBx7vS9Sh0ZLx6LoSqT0MOyrSi0Ei20rAIK7pRNn24kWzH3YDkuRs4kTMCGz83buH4OZVnXNACTP2WgdD3UGQFVEi4nUM26pfEyOVSLli0ZEYqbdedDEwH9teMcsIyiWS0JTcNi7oaD2L9+cJruBerjjzvygFSTGbq1 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)(451199024)(64100799003)(1800799009)(186009)(55016003)(26005)(64756008)(66476007)(66556008)(66446008)(76116006)(316002)(6916009)(66946007)(8936002)(9326002)(8676002)(5660300002)(41300700001)(44832011)(7696005)(52536014)(6506007)(71200400001)(2906002)(9686003)(4744005)(478600001)(33656002)(38070700005)(38100700002)(122000001)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?78Ksa9x1aG7l5r1Bk2m90Ib6fn4bj4N46QFn0CpaPbqaJiDqqET89I/U/bt+?= =?us-ascii?Q?qIGZn4IYpEmw5H62xwiSZHYtDwh+KHqKAWfl39t5L1zAd3WcU9TcsLnf4OhJ?= =?us-ascii?Q?p0VFlApTr/BZtL1NiJkfuon3V1EZJzbKPbfAAr7WlwoDbUIZyoF7Fy26II2z?= =?us-ascii?Q?CK9P4fhZJp6R6ETQFEt0+lfvUdkyv3YfuUdwT9WRD+XUem3P5PqLIwj54EIb?= =?us-ascii?Q?6J8/lSyTut2jxHZ0WZ9OCyX/w3yY4ZegT/Uwx1k2ddVQPoQrtpKLS6w+s14J?= =?us-ascii?Q?0wKcLlk+U8vKxfBfetVUjhks0Tp74im3/wrTh6RnpYhb51YwTsat3PiM0XeJ?= =?us-ascii?Q?KEfB7qSWFh6hUjM+6S8un0u3j8YF3DXkeLISc9uApGnVP4g7E22NlOX1IEs+?= =?us-ascii?Q?6nj1JyU+FKQavtKRr4SCX5ptdK4H8xkYFKeiIcJ5KEF2nSoZ4UiIWnzryxl+?= =?us-ascii?Q?o6b3kEINp6R+2ijxC/XoH4KP8jpQccfLoUKNu1GndUGFTKt4Lu7D+YCYCwVi?= =?us-ascii?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a7KxLpb?= =?us-ascii?Q?AIy1ayZC6uqUTsIeCf5lpMlKPtuSb1I/7+baxQ7GPJuUysiLRVIG5DMziwb+?= =?us-ascii?Q?VV6jtXzLGJ33td1qL3D0459phlQFYLqOCWiUpCFZjWmAx7CtehSKwv8Avryt?= =?us-ascii?Q?xgw5z9d2eLnstdsvAb8Zt+K/sfQs+yQPfs273yZDw0OhmNbJevP2bPcipkzi?= =?us-ascii?Q?GQ=3D=3D?= Content-Type: multipart/alternative; boundary="_000_CY4PR1001MB2056E539EB42048C4CE7EDFAFDCEACY4PR1001MB2056_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: nUx4ZYXCMCQuY9YvqJY5GFrdVoPL75y9lFX0RyX0vXgYVKCjiyzLVgD4ZN/THGMIAFLn694wtfoxe6Z7MbX8D5jkaRuCT2gks4eTdVJ6A4h3V99QCk//AO7i7jm9kLR2abKOaOM3IGXeOicGusa8gw/9Evxd+bdR98/D/PgadIWzItXK2ZQlRl+96A/TLY4khakTzCQdYy3aIz4RYrI5u7wjsfFyLuoK1YZWi/0drbYewgZ3380QVPmW21J2JJtYOn0+bcLeRjaHt639UFVEuEmKj0GSxvzcKPw3TX1Evs6J+bAoDTH2tTjuHzFgYnDqtnhaGnLpXZ74vHga9BKoVsPq5JPQe3LcW5K7wvYhRtm0dOywcRppzMx4ipq+Ml/qH+XelY6wsYUIm3rD17VCtl5b2xvmSl1ZQU+1in0sMsmd/2IfnhmJFuFLGk7EEoxTGzooiP6W4ktO0gZEootQ//Vjb7yF69H+lDfMiBG9pxN9TQptgvIsO9Yzub2hQf6v7OGtYtP/G5ru72CoaJfY8AZxEE/5OHxF1188q4A5wML4hJ7EWS7j4Esjy1j0KBpih9yaPWaCUhzY/YRiAT9AsCsCC2HbwECr4Z84q92yAQG9svudEF2UlR7XLcKL7lbs1DVYbdWh50x01ZwUyjYNq1W4Hr/0wpOQf1Tjozk9vlHWNDiJyDn+6EQJuY7af+Z6iw9Yd7celXabobMiLFiD2mG5qUNQ1AMB7t729rOUmSFNgVjHMuE49qHaH2uxN6wc 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: e148cfd5-979b-4de1-08a6-08dbc87ebcfd X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2023 04:18:06.4627 (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: cwl1zF8GkMylpwszxs+aHNGq60cg+Ze0J6OQpmbi9GqFzU/4zM+u9gAMHkibE8QKvRudD8AkxE2nRL0d1D0UJ8sgzvUQDLVhp2NB9r+QmWc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7931 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_02,2023-10-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 suspectscore=0 malwarescore=0 adultscore=0 spamscore=0 mlxlogscore=613 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310090037 X-Proofpoint-ORIG-GUID: cTNeDGG9GJqYBhPFk_nSBnQ981D1TUWA X-Proofpoint-GUID: cTNeDGG9GJqYBhPFk_nSBnQ981D1TUWA 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_CY4PR1001MB2056E539EB42048C4CE7EDFAFDCEACY4PR1001MB2056_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_CY4PR1001MB2056E539EB42048C4CE7EDFAFDCEACY4PR1001MB2056_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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_CY4PR1001MB2056E539EB42048C4CE7EDFAFDCEACY4PR1001MB2056_--