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 DFC6A438F0; Wed, 17 Jan 2024 17:19:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC388406B4; Wed, 17 Jan 2024 17:19:25 +0100 (CET) Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by mails.dpdk.org (Postfix) with ESMTP id A5EDB4025E for ; Wed, 17 Jan 2024 17:19:23 +0100 (CET) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40HG0nr3008867; Wed, 17 Jan 2024 16:19:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=KfIoKZvhNeKk5OvbD8Bfzl1bw3mlPGmFxd2ev9miAP4=; b=KSXNluwGi/0jBLZ5RvG073Iu0LjRpU4X8ALPfKNcu9C3RvMZMRon4F9KEOysMFYbNOq/ zN+cpl7PcCKdeAZOZLvjjah8Sg2dC9Uq4RQOMdwH7n9udgnAkCit93mwsMyPKWphWzqU XVUk6MFMyAwPWIjOSL0DRky5CiXUhUl7cgb3lqlVZau7tnjTLXWDOoPWrPihQikhHJyx mkUub59svc2uWel7372xneWUDX2w8bjs/l+n7L/iZWIzMROcksqSthb92ptoHqurSbHo cpQaAuWapmPbcAIgp9qPGe1YY0uHJeCVZwfNneb5NtC3NLdQBEkC9HDlb6GeEdmhB91I TQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vkq3h0323-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jan 2024 16:19:19 +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 40HG4eeX023191; Wed, 17 Jan 2024 16:19:18 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3vkgyak360-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jan 2024 16:19:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MI6OqwChL/OB7+9t90J86fDTnwVKur+tA0G/fFiNE2Fk2Wn9aQGPInfDwag2zP8th/jsD/URcIARV0mvEAK3vfwxCSEaskfVjl8MMX7DoC/ic60eHWihZUyUZg+DtJ3UsHjott0V+wCO23MMIdkK42rrcm9trzhyBETqbknzthQS4Sv+LP905FuUFHTg25DOaZFDZdmwnNYA9zt06YoZRZtEJhJD3LCnBkQd1bFOk2QUbzpLwfeZisQ00dFhBJWzSudn7D3emvchaRTB6HyxLWmdKF6ITuGxkC5mt07RrLFhRGjWL2+njGqbDYGViDwOpupDH3z/oDczVEdnnuvwog== 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=KfIoKZvhNeKk5OvbD8Bfzl1bw3mlPGmFxd2ev9miAP4=; b=mKrKgf/8eA23coR6H2gyyJTkSUJtel3ptjr6Nrb/zgjXpYFYKXMtWyAvKeYQNt4gYsk7JqdrSomUkvaxVPBcpshjygiDmp27a3ZFNl9/lz02SNUSFH/y2GoF7f+51W0vZs6jK2ZlJIHldMkrPmW/BsFsuDM5EMqj/+v1nWXWoEoWoYadgynnKBN4L9TiAFvzZFF+jfhSY/sUCMRaoZdGABJap832kBn5Uc/h9B+Urk0TMVnVzXdx0PjNeaOK1UtxqU62zju9iQ3VkXfIj6AKBmn1wuGa82TqtIfQuAuwRK/4+PyLjgAMzdGfRSX7J2C+AJVQjbFriRhuQVfJYmjoNg== 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=KfIoKZvhNeKk5OvbD8Bfzl1bw3mlPGmFxd2ev9miAP4=; b=QFHty3Kywx/4AfOCUZL3cirr/AdlcLMUXFKtlVI2pHpIyownYqPmziEigAmBsUPZY4OMcmMbi3K5i02jB/aRC0kmfz2rnSTCCbNkmaT1RHj9xSpxot1CegUUETTzm4xYJ4KLuTrdv2UZebwRawEDGkYktuNfu4PNz4PTsWIEcn4= Received: from SJ0PR10MB4798.namprd10.prod.outlook.com (2603:10b6:a03:2df::8) by DS0PR10MB7343.namprd10.prod.outlook.com (2603:10b6:8:fd::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Wed, 17 Jan 2024 16:19:15 +0000 Received: from SJ0PR10MB4798.namprd10.prod.outlook.com ([fe80::bfe7:9456:17cb:cb09]) by SJ0PR10MB4798.namprd10.prod.outlook.com ([fe80::bfe7:9456:17cb:cb09%7]) with mapi id 15.20.7202.024; Wed, 17 Jan 2024 16:19:14 +0000 From: Madhuker Mythri To: Stephen Hemminger CC: "dev@dpdk.org" , "ferruh.yigit@amd.com" Subject: RE: [External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the Kernel-version upgrade requirements. Thread-Topic: [External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the Kernel-version upgrade requirements. Thread-Index: AQHaRV4Rf7RgLGk4B0C7Hxjh8lHukrDWYecAgAGlXXCAAARbgIAD5emAgAFtggCAANfTEA== Date: Wed, 17 Jan 2024 16:19:14 +0000 Message-ID: References: <20240112134821.2067-1-madhuker.mythri@oracle.com> <20240112084224.5121cce4@hermes.local> <20240113100607.389c9ba6@hermes.local> <20240116192558.03b413d6@hermes.local> In-Reply-To: <20240116192558.03b413d6@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB4798:EE_|DS0PR10MB7343:EE_ x-ms-office365-filtering-correlation-id: 1445e64d-ad16-4bc1-9a7e-08dc17780c48 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +jzLbLLc/xlsXXwMxQwltUDwxhpQD/97NCrWomDa1ybrF6uOFs0xnKR1RY6Gd/IDljeb6yqqMuUXtQwaqga74Dw6X8I1eETLll1SRmapofBg/5+uoHr+lle350QCYkwi0m9ux6KCVjVguOd2ly0GCMmGYCNBruw+n7kv7aQo8zMKZvQofxj4hUhzazok/me/x3OzuYsy7+24b9HpvLgrpJwkkKiy9SdUsDbKm722YbAoTevxS95uvLF8yO6rcGJPyeOUhb2RYtRULpf3RWXtZFfombb84GzxjHq8+k+ZN5ckE/rgoPyt1Kp0k3umw/ywxlyOg1S1npyEPiPzjh+SyRwDliTl/mpJDU1qpkikouCe1/gEAvyJ9VBe+RMNdBXLX5/MNAomS5iQfLXGUopl5qMLS1rjgAftqV0QNc9EaQwDEd//k/lvBtCEEk8OxT2KsEm2kJW0Cz831/yPfBCAj9LmypcSNxJ9v0fHV0LhWThXHtJYC/6/Gc2M/GUKkoMB5fZZNfywNEtbPSn05L9dzsAtCUevyA8FuZkEfhrd0l4pzrgIYITP5TZVYVn6UUCx8IBkkNUkZSNRUQ/dM8KYZ6xtpNRK4vJ+TNNyVlAhKUpHWdMXIfVmvMHHrP8e4AxT8WAZC8ojFJPfK8TPit2I4w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB4798.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(366004)(396003)(346002)(39860400002)(136003)(230273577357003)(230173577357003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(4744005)(41300700001)(26005)(38070700009)(6506007)(5660300002)(66946007)(33656002)(2906002)(54906003)(86362001)(76116006)(66446008)(4326008)(52536014)(66476007)(66556008)(7696005)(8936002)(64756008)(316002)(53546011)(9686003)(44832011)(966005)(6916009)(478600001)(71200400001)(8676002)(83380400001)(122000001)(38100700002)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aEot9L3/ZCdwcQI1hhl2dmzX4TGPjEHq9Fno1dGfq6dXZJNyVzUvdy/MXTOv?= =?us-ascii?Q?RLwmtjEKhiIfrD+Sj1KWB535u5Nxm8oqlzW6yU2AhkPH4Aeh2KCPFkiaIud6?= =?us-ascii?Q?5Es5T+mbhgRps1Xf04CbcraXWHh1ABHh+iFzuvHTgE0Hmw1703X/PItuvQ46?= =?us-ascii?Q?2Y74sWbHyaTHAEhp/TpNo8vdPzP/ifwTLbgCpRGWoc4h7eJIuZm52kG3RDCI?= =?us-ascii?Q?hjGizGDoT+FDnQprx7/+F87IAWHWV+bWT12Mrkua2396r/o9ucz+5hQ779tR?= =?us-ascii?Q?8Kfl0theQjG3HaUgrrq2Iqwj8NTsP9QKsmS94HECrdKA63mqLIK0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2LPE7QNC2ymXkx79XtCOpiVGisMEX1ofFP++w0JxytI0?= =?us-ascii?Q?YDPMuOuNN7spAk4qOCxbbAkzldMBstR6K7njVgyYhp0SXpkdU63y7BWcDkX/?= =?us-ascii?Q?YcMkv0UP0wamvOfEyxBj6twEh1uQ8SIhnMDujI5PERTu7tN0bEvLoPgWFAZg?= =?us-ascii?Q?lc668iG/GzyuZbNNa8Fgq+MB8xzp0sLUn7jAYI+DNTj7J1z10xHut5pGQi3k?= =?us-ascii?Q?zpKUnVjpV8AAZ3UL2qyUq8XDqaZ0rAp9j0eFASAArr2znAnGovSZRDt3HmRN?= =?us-ascii?Q?lCXfSBVqjYlWb0s7otWXCKAqPk2BQR4IRE7mXDQgIs0nQl/OWbGP0dRnb7cZ?= =?us-ascii?Q?5AxnP+ArX07EnTOn5ZRzz2009H7kcGupiP8IZnju?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: eTvbl2xN6ddxM6jg3eXpKKnJstxTKV7RRx5H2tgHoI7EYBnrNDvJk0AvJd6Mg5M68ZBWpss82bldFFxg7lbQGg/iwZyqnvdv6MbvKNoKkqJ+UFk1AO9jHQAkWWcTXmvtkWuVzeo3IQObI4PVUzv2HyGaJa7bLeCv3UfAXpW9JXcNaXbX4Y5mTQbaQxq9RXO2z0VWxmI3vGOJDN6oQv4ab3a8UVkASisYb4dKUajmtmfYURwiMyA4/lMGi60nt2snwc40MlQaNAU83v0wxJUL6lPDG8XWX8MPQ69kRwkE5/QXgK3ATowg48jadOD9+eCZFYnINGMO3U7Na9KuKlJLAuENuI6S+H+ulOCjQcW3lKURuCLwvJaUEp4L0hkIKgjYPS50PpTVPV1xBuImeBEjb/pomvvcVDgKaIwqYMSyOR1jbF9rvk5+VyxH4WXen0isyOtSZwwkdUZreABb5jsR8LiTyueI0+wKJTTEvhcxfxk5pKDSyQoiCKHI+zSTbyj5Xy6s1F62KwkBnJsuid1VO7DBLserhneJ9s/WAv5jhDE45btakFTaOebpEuZAnl0pyTOCZwMIEGdrR849LAn+PJoiBO98pKLztdgjJs2Spn0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1445e64d-ad16-4bc1-9a7e-08dc17780c48 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2024 16:19:14.8956 (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: JZg/lL4Ig5RnUczpz1kvcRT3XMkAXO3E4KiORCS5tkeNaxi8PwHo+JdO7tmf3ZkBeRLsEupVUQ8l4FMgWz/g9vE/Tmg7EsZz4H72DNvhbDU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB7343 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-17_10,2024-01-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 suspectscore=0 phishscore=0 spamscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401170119 X-Proofpoint-GUID: i7ljNhdLxi0JFGEv0UQoLiXB9v-seig1 X-Proofpoint-ORIG-GUID: i7ljNhdLxi0JFGEv0UQoLiXB9v-seig1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org No, I did not run with Cilium. Thanks, Madhuker. -----Original Message----- From: Stephen Hemminger =20 Sent: 17 January 2024 08:56 To: Madhuker Mythri Cc: dev@dpdk.org; ferruh.yigit@amd.com Subject: Re: [External] : Re: [PATCH] net/tap: Modified TAP BPF program as = per the Kernel-version upgrade requirements. On Tue, 16 Jan 2024 05:43:00 +0000 Madhuker Mythri wrote: > Hi Stephen, >=20 > Yes, I found that the Kernel we use has more Verification added for safe = execution: > https://blogs.oracle.com/linux/post/bpf-in-depth-the-bpf-bytecode-and-the= -bpf-verifier >=20 > Here they mentioned about SKB pointer direct access, math on pointer and = array with undefined access is denied on BPF code. Have you tried running Cilium? I would expect those custom changes would br= eak that