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 8457BA0C52; Wed, 24 Nov 2021 15:19:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FF2941168; Wed, 24 Nov 2021 15:19:38 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 8691A41158 for ; Wed, 24 Nov 2021 15:19:36 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10177"; a="222506553" X-IronPort-AV: E=Sophos;i="5.87,260,1631602800"; d="scan'208";a="222506553" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2021 06:19:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,260,1631602800"; d="scan'208";a="509888697" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga008.jf.intel.com with ESMTP; 24 Nov 2021 06:19:35 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 24 Nov 2021 06:19:35 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 24 Nov 2021 06:19:35 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 24 Nov 2021 06:19:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lq5bcXELnAWKfM5cuOWHQGoMowho2wk0thhW2tQ6zZTwdYQCbDeO7hTFgvc37lhnY6uSQA6ss8QfPgnVNSTPJGeW8Vz+OeUWNe6nYIvE8x5LYbJrSU7yfsf6/mYQGxpMcCQ93MvIvmXuUqS1hf2Tw1P83+Lj0GqocxjV84OqtjibWENKfiVVACcm86/jqP4s2BOqWpsjY0QqTZfmXTrpRwjKTDynzsFGPfc6X/OYw+S+aHlO6TUUSjfar5LaqYOmWMHsdq2yMueFX2yCAxn17RPOyxriEXWgfn8gYAv1b45CrciRnWAaJgCD6ZU10y3RR74UTsVfvVYsU/TDlLmVmA== 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=EeZNbNJQICJkjlkb4x16M9dp9A1mJMtE6KYg5M0Cvu0=; b=ctrIUpLBfnvLaOX2JZXQvwJ7WWozblkmYv1bTm1nIMQJGg7PPATWplrqgkEavM+hdIjcLOB5npkFtlcGcxHWxRRPubdfpNrYVaLp4bOcnDFE2E7ivAVDP4+OQdfOzHzEqmRnSGAwwPa7uFCmZLkOZTrlVzVr2LIWwlZ63AgNBjU50NeTxAvztFzKhvjjq8gKVwkEgvfRpw1lPXocCfLF4kcQimcmTXzwjnteOS6LfOT4e722b3cECwGxYCCLnGNpMF/p6lGkeN+suUKwxXKR4sXgMihiWyO5M68QDd3opafI49FEtkLgE9ezNkIzHDaOixY6X5zFFQzJfIio2CUmbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EeZNbNJQICJkjlkb4x16M9dp9A1mJMtE6KYg5M0Cvu0=; b=uNDvqTWKeVXRMN4FH6Ei3kjDMTGNGssMePXI2LoPjXCnFRPSDK8vqPracvmTZnL5YpFT55EZWMWiAOPaOR4ImKyIlXYOzEnBrpQMKLBO9zfQsuC1wCVbhsYfqZ8enOgcAmEFEH3fjzbSohRriORNSpDwmVANxi1s1IFRVWlGRlg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5877.namprd11.prod.outlook.com (2603:10b6:510:141::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26; Wed, 24 Nov 2021 14:19:33 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4690.030; Wed, 24 Nov 2021 14:19:33 +0000 Message-ID: Date: Wed, 24 Nov 2021 14:19:27 +0000 Content-Language: en-US To: Thomas Monjalon CC: , Keith Wiles , Olivier Matz , David Marchand , "Stephen Hemminger" , Elad Nachman , "Igor Ryzhov" , Dan Gora References: <20210623173142.3803801-1-ferruh.yigit@intel.com> <20211123120839.1740537-1-ferruh.yigit@intel.com> <2937060.Av0YGoZ78G@thomas> From: Ferruh Yigit Subject: Re: [PATCH v2 1/2] doc: note KNI alternatives X-User: ferruhy In-Reply-To: <2937060.Av0YGoZ78G@thomas> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB7PR05CA0018.eurprd05.prod.outlook.com (2603:10a6:10:36::31) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB7PR05CA0018.eurprd05.prod.outlook.com (2603:10a6:10:36::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.19 via Frontend Transport; Wed, 24 Nov 2021 14:19:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 32bd9d01-40fc-469e-bbda-08d9af556fbe X-MS-TrafficTypeDiagnostic: PH0PR11MB5877: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FzVgb02GWJL/lk46s5ke+9dfsePyj1fQhgr2n3e64BOsUM+NEjLlNavAAcWN3UXo9twYVAhW53dYnIrKSvDc/5Bl91k0lRoUv025kpYUYriA4mBSWBDfx2iFV77p+jFH1reb18HIJG4j6kpI9hcR4S0L6/yVYPOHYyzo4tjVggJBrFzkdL/2YcZX/2P3kktAk+o6RbnzBmPbXd0ExczpAug0N/cIgnQa9tmjd9XmHa5CV5AiEjTqvf7ObH5uoBrojAywT5sYG/cgc2+s2/f/1eXF9IJjyhILYiqShZscEE9xD1HIf+NgGcK3gwfAXHXvyDiii6FpCRvQgl01uFcXk3tBRB+sK0q99NmyZ8/dwPTUoiUCy+0l22fERlXyfus/SmPCWjHcVDVUnQEXGpC84zJD8wNYgL52hHk9i3FCj9yejLnoV/rrUAzttM+dZyitX7SyBaRz+6DMAGt6eEEeZq3pTYs8hyFI6lWGD4Hl0/n5a8/rTdgGaGxrJ4RfBcoU0ntRgJP2229OmuBzMkcg2vji/Pu8Uii/IJ2Uh3AeXVtKx2ilp69vuldIWpRU1i48tu+tGq8KN7OWiAy7j8EVKjVQ5pGjOLCmTJ8fMsgZlTaY6l1Pu1miE6cUeC07oLn/CrZ5SkWHhaLVdDNlEYpKTiFIsa9dn8Sf4hniNdAD7tpiS97KDYA+DY/sfKu2SYf+fqQoLU1kRC1wNQNx3Shx8ko/AY9CQECrKjAFNRFbT2WL3Wt9Eb4ZJazkqcEL3YWPzkC72lbn1z3ydHm5RGmrDUWmT1bZDWcw0nZojidwXJE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(2616005)(6666004)(66946007)(956004)(316002)(4326008)(16576012)(86362001)(8676002)(66556008)(186003)(44832011)(31696002)(6916009)(6486002)(8936002)(31686004)(5660300002)(66476007)(36756003)(38100700002)(54906003)(53546011)(508600001)(2906002)(82960400001)(4744005)(26005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SFFpY0lLS1FKamQ0MjhZdUVxd0lqMEhkaEtrNlJsaVJWbjlRQS85UTMrd1Na?= =?utf-8?B?RmtUQ1JLOE9Kc2x2eXZYV0hRbHlzNWtYb2VlYUtCT2lBd2hHV2lvYURLaDdL?= =?utf-8?B?L1pzNlhQYzhoemxXR0x3d0lmTC8xKzV4eUF2cDZHVklTbG14UU44MnZjM3Bl?= =?utf-8?B?b3B4YjArOFdja3AyMTdvYURYSlFvS1dMY2VqbUdmT1VEOUdHb1k4TEVVUU45?= =?utf-8?B?ell5c0FsNlFYb2VxUElTODYwQVJPbnliMUdEOHBBUHVKNlFDVnJyaXRTd1Ja?= =?utf-8?B?K1ZTRG9CNUVYcXUrd0tlMU5ZSUc3YWcweEdKT2lKM3FEcXNoTVBHQ2htKzlR?= =?utf-8?B?QzJoUTNQM2lmbWtLZ0dLSFRZeWozd1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sNOuo3xlqmzE=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 32bd9d01-40fc-469e-bbda-08d9af556fbe X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2021 14:19:33.3767 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NBoNYMdKpW8o8pKbFyBUM5Jhhb1WGkelDyijWH9X7DlRHmuyj2+AB0xieq26QLqlWOcL4nLA3im7A2hk6Y5uZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5877 X-OriginatorOrg: intel.com 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 11/24/2021 1:58 PM, Thomas Monjalon wrote: > 23/11/2021 13:08, Ferruh Yigit: >> --- a/doc/guides/nics/tap.rst >> +++ b/doc/guides/nics/tap.rst >> @@ -1,6 +1,8 @@ >> .. SPDX-License-Identifier: BSD-3-Clause >> Copyright(c) 2016 Intel Corporation. >> >> +.. _TunTap_PMD: > > No need for such anchor at the beginning of a doc. > You can reference a document with :doc: > ack > [...] >> +There are other alternatives to KNI, all are available in the upstream Linux: >> + >> +#. :ref:`virtio_user_as_exceptional_path` >> + >> +#. :ref:`TunTap_PMD` as wrapper to `Linux tun/tap >> + `_ > > What about pcap, AF_PACKET and AF_XDP PMDs? > > They are different, not exactly KNI alternative. pcap, af_packet & af_xdp are on top of sockets for specific interface, KNI & virtio-user enables injecting packets to Linux networking stack without being tied to any existing interface.