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 2C9F945E79; Wed, 11 Dec 2024 17:29:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D96540267; Wed, 11 Dec 2024 17:29:15 +0100 (CET) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id 3A1A9400D7 for ; Wed, 11 Dec 2024 17:29:14 +0100 (CET) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2165cb60719so28005815ad.0 for ; Wed, 11 Dec 2024 08:29:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1733934553; x=1734539353; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8KMnMVXSHixT6HCK0wBuADjcESBba4W+FW4FpX+SkWk=; b=U0he9cZZ/6ChIU+ezUbQLKZdPOq01nGSs9jj/i9hRBTySiTL++OHhYdoGGMxiiRqEP 1VrOJgZJFCpwjhj4ua3KvTcdajOPNUGx4pQN1pZSBLMRMHEwli1y6ANx1jsRpfbh9fsS YvkeYLG7rmCuuzrcO/TZdW8nxhTxaKOa81BidX+H56yb4++Tp4UrtqVxALVer0Ejj5jW Cg/5Bi/j11ujUEw9bp77/98HiCfguIxnh2OaqWpv0aTxpJINyunvTvd77YrQjLJMKM/V BhO8QSvg8c033Et4zrGYeHcE5R7R2Imgf8IT/etbPlrw4jUHNRdatttnUIAxzmg5txmw 04Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733934553; x=1734539353; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8KMnMVXSHixT6HCK0wBuADjcESBba4W+FW4FpX+SkWk=; b=vrXCBKuq0FgIXVCrXWFupzrmprHUZl5EZ7qoOw5P3/q7QeO+cu7jd3Pc5aXrzrox9F Gh9abBHe52qimnouPwA2Xrp/oUP7ePXUo0MHFucUXAn94sDO9r+kwFs6Q3GXo4YjDjC1 7jDvmtRsUDDZuLepk3jp5smFFtuQRqp2//GOQIrjhjczEpQ/Q8j/IbOIkEY8G65pFFNB SwGEnBaJ59XPFo/Zv9h2NvFfe/UR0E2BGShR42PGMnmcMCjohUY35OmJ+IlxU/VDcT5m pDOQ3LVGzyAQsygeAJznnojCPXVyULZ8NVDKAQy9abd/XPMsStE3RszLY5tvTmVWDqUr OiJw== X-Gm-Message-State: AOJu0YzPqqEy83pjjTq8njPYmAAtYV6oxg9wYvZKcIoYgrHf5OcDhMrm Q77LaDQJi2LpFUyvpFKS65PJNLl5lx5EfodPiUrimYjnHiJlnEwkzY03yF0h1FDfSSveFrdDe9W n X-Gm-Gg: ASbGncvhIw0i6Wicpz0unooodYgF9SkuRU5fEQLJ7Vg9A/1KFFM53OMRR6gWpeQo9yn cFdTKPYZ7skSYRXybThJAwzsRwy/F17wEx1BBbSB8g+Ng0xBmume4CU+NXWluwTpbWq8NmLB0aQ dDj7X4QuKnTjIU+Ry6ry+llTQ05oSAYLzIcuNPMavFpM9adUOjT/ax9tVtxIOeINJa0H3k7ytXL UKszf21BIFeJUIEGV1Jv9gIOz/ZYdDhtcFMx9XNbxywiiUhyrCHYmnlPuyQQ74YA26iSuIC/ZOu OO41FfLuEH6jwDBJebsyJxavzLDQi8M= X-Google-Smtp-Source: AGHT+IHnEAjPFZnPHmygwQMqmstQT/MN/wjIhvOUI4GN8rDDLoxtiJk7Jbn4oeTk/qKMsG5qVAkdHg== X-Received: by 2002:a17:902:cf07:b0:216:7ee9:220b with SMTP id d9443c01a7336-2177851f7c5mr63973315ad.22.1733934553414; Wed, 11 Dec 2024 08:29:13 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21632c4fc62sm71989895ad.194.2024.12.11.08.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 08:29:13 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/8] ioring: network driver Date: Wed, 11 Dec 2024 08:28:01 -0800 Message-ID: <20241211162904.121695-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241210212757.83490-1-stephen@networkplumber.org> References: <20241210212757.83490-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This is initial work of new simplified TAP device that uses the Linux kernel ioring API to provide a read/write ring with kernel. This is split from tap device because there are so many unnecessary things in existing tap, and supporting ioring is better without ifdefs etc. The default name of the tap device is different that other uses in DPDK but the driver tries to keep the same relevant devargs as before. This driver will only provide features that match what kernel does, so no flow support etc. The next version will add checksum and multi-segment packets. Some of the doc files may need update as well. Stephen Hemminger (8): net/ioring: introduce new driver net/ioring: implement link state net/ioring: implement control functions net/ioring: implement management functions net/ioring: implement primary secondary fd passing net/ioring: implement receive and transmit net/ioring: add VLAN support net/ioring: implement statistics doc/guides/nics/features/ioring.ini | 16 + doc/guides/nics/index.rst | 1 + doc/guides/nics/ioring.rst | 66 ++ drivers/net/ioring/meson.build | 15 + drivers/net/ioring/rte_eth_ioring.c | 1068 +++++++++++++++++++++++++++ drivers/net/meson.build | 1 + 6 files changed, 1167 insertions(+) create mode 100644 doc/guides/nics/features/ioring.ini create mode 100644 doc/guides/nics/ioring.rst create mode 100644 drivers/net/ioring/meson.build create mode 100644 drivers/net/ioring/rte_eth_ioring.c -- 2.45.2