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 9A5D1A00C3; Tue, 16 Aug 2022 11:50:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B06340150; Tue, 16 Aug 2022 11:50:42 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2057.outbound.protection.outlook.com [40.107.101.57]) by mails.dpdk.org (Postfix) with ESMTP id 43F5D400D6 for ; Tue, 16 Aug 2022 11:50:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LsoktyfHtSLq6NNBdQx1Ae4S+vqg9TbPIE1hkVVpcgWTT/x+g+k7mHebkworXWgaS49ilU+X5NspXqjbV30XLyfRapB4z3Ob0/CQWczSs5XxfnIS165yA5y962f2mxkA/XpdLwEKC9utnauR85+XwiJb5WMgzFFi3F9ckSI/z7YSuR77fArPttTHlHIpIc70CARV9uzFl9/Gc9cp+2pLyWViQQXQJxQrUew3npCnvrSsy8Ocp8gZeClc6t5Hov+2OAcYWGpt6hhKJoFbqNH4m7yw2YvwQjtWHTSATFc24dJM/7oqOyVZvNW5hch/XGX9Biuv7nBgOBc8/sovPNSSNA== 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=4nPZFC3gwQxdjGGmVb/1/l+MnVPz5p7imnOprLsSxPY=; b=NHLOFDXhcl996C/ueQ8FrEPvLUax4fS+IKSaPQo08JgsAT92KIhO21jGuZWXV5XdHZWOu/rRi7oz3EXUawvacvCkhCuYnlG4LlP4DnF2u89cOEc9hSoa/4w7HkVTMpjZkbffkbLQJ1AubKAt6z2SG1oKy0vIPebOayIlLL8BQplxQnv96XNw+E+lhMSCLPRMPeSWTV+sssUCBFXdIi1zZ89GmqmvWy5bR3m9FId+nQ4ZwPbHrIHl1Fchj2O0Tw9uGK9VF1M92ynllERDSOWiAmSlPUl95iG7oCacjHdDRlXg0AprjQdA/dS/0xmTbcnP6vO78GnqNRPLTNCwG4Nfkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=nvidia.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4nPZFC3gwQxdjGGmVb/1/l+MnVPz5p7imnOprLsSxPY=; b=oQybq7exixWwZk7a8kUUvVBSVAG8rUL61PnfjV2cBCK8CnCPdZ4a9/VU79ePspkb2MM+vdDsiH50XffDPtNm4DWhPnq6YeFPcU+Rx0swYrQEGFWa5UyngOGBiez+BQJWdp5nMTRx+Ys0VPxUIyvOH4buaLZaV63/6gPbUJ6qEcA= Received: from DM6PR18CA0021.namprd18.prod.outlook.com (2603:10b6:5:15b::34) by SN6PR02MB5421.namprd02.prod.outlook.com (2603:10b6:805:e9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.15; Tue, 16 Aug 2022 09:50:36 +0000 Received: from DM3NAM02FT031.eop-nam02.prod.protection.outlook.com (2603:10b6:5:15b:cafe::b1) by DM6PR18CA0021.outlook.office365.com (2603:10b6:5:15b::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17 via Frontend Transport; Tue, 16 Aug 2022 09:50:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch02.xlnx.xilinx.com; pr=C Received: from xir-pvapexch02.xlnx.xilinx.com (149.199.80.198) by DM3NAM02FT031.mail.protection.outlook.com (10.13.4.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5525.11 via Frontend Transport; Tue, 16 Aug 2022 09:50:36 +0000 Received: from xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 16 Aug 2022 10:50:35 +0100 Received: from smtp.xilinx.com (172.21.105.197) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 16 Aug 2022 10:50:35 +0100 Envelope-to: michaelsav@nvidia.com, orika@nvidia.com, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org Received: from [10.71.194.74] (port=20759) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oNtDX-0005Uf-5c; Tue, 16 Aug 2022 10:50:35 +0100 Message-ID: <65973c56-d307-efed-57af-6e1265b63f34@xilinx.com> Date: Tue, 16 Aug 2022 10:50:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [RFC] ethdev: add send to kernel action Content-Language: en-US To: Michael Savisko , , CC: References: <20220811113544.1718643-1-michaelsav@nvidia.com> From: Ferruh Yigit In-Reply-To: <20220811113544.1718643-1-michaelsav@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4747ac8b-9928-4427-5c1c-08da7f6cc50f X-MS-TrafficTypeDiagnostic: SN6PR02MB5421:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ooBxMkka23pap8qMOOoHDQujn5R1vNM7AdWTpFkvYwdwRQw1KMhgGInnnPdhDsTtByufJrXiGb40C/dJ/ho45+Z9E54CEScDeDMrbXOb0vOJPEchq9NJv0GjXha/xqO5+cSy4zUhjOxhryYQGLdhbLeeGVhYXhRX7+AHPbIQHqqAyeyVr+UWgnJotOBPbVjk5j+ej3ZEfwmiWnd3GMjNsrZpSVrrGgMhHNng/9GUPiREh+AuTJbbLCsivConbbNXPKubcWv4cjLRPq4f+VuBerepoMy+vLKn4EWcsv+ZqNAnqrikNMG0mdXVLHd0ZpyZUyuy14l8FifIVhEeESO6bbYtTuKAPTDa64X1/7QIqf5jTLUoK24AbUa06oMp4AunP7ZJa+IVXpBRMTob4/3JPA4EuP0DppDr5mBLbrpdIdeTgmGvKk2KXm5oG2B67JdRj7hoohUgcwZdZ1u89mw/2MV8ldu0kbIk3Qnix+Rr6zbhSCFT75QGLgrYo1B7H6fhJ+3JXWDvDIG4IvQBmvWgjJEFMu/g81mTUfMXRyVATlRtG1taXklxC/etSC6nbqlJLleYieAUO3+kh4ybQNqcm+OZNZl0jnx6qXt53L83wtNcjfzasq5jPaOmSGr/VrkN25VQhHYuUrQWJJaajxXUM/H+Ah/oz2uBd38OLFapbjDtoDjmyuhmKjVcmgXkMZ3r3MvrdaVbXny60wXT95Zsb7zfo1Klv1P6x5xXX/pgFABu+1R5PAw2hgfWLU1FDK7P7HLifb011Mkyj3PNYQTTQOZ3cSe9qtBMFOR2N0/4pOiomLqvaSqum4qnCt25EXMlITIwAyccnzhQD7mmnCvrvAv1xDxpc+kjods55zCkym8= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch02.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(396003)(136003)(39860400002)(46966006)(40470700004)(36840700001)(186003)(426003)(336012)(70586007)(47076005)(53546011)(8676002)(26005)(2616005)(82310400005)(36756003)(478600001)(41300700001)(40480700001)(31686004)(40460700003)(7636003)(31696002)(70206006)(356005)(82740400003)(36860700001)(83380400001)(9786002)(8936002)(5660300002)(2906002)(316002)(4744005)(44832011)(4326008)(110136005)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 09:50:36.3316 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4747ac8b-9928-4427-5c1c-08da7f6cc50f X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT031.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB5421 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 On 8/11/2022 12:35 PM, Michael Savisko wrote: > CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. > > > In some cases application may receive a packet that should have been > received by the kernel. In this case application uses KNI or other means > to transfer the packet to the kernel. > This commit introduces rte flow action that the application may use > to route the packet to the kernel while still in the HW. > > Signed-off-by: Michael Savisko I assume this only works for bifurcated drivers, right?