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 BD91B45E6D; Tue, 10 Dec 2024 22:28:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 935FE4026E; Tue, 10 Dec 2024 22:28:09 +0100 (CET) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 9E5364026A for ; Tue, 10 Dec 2024 22:28:08 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-728e81257bfso728602b3a.2 for ; Tue, 10 Dec 2024 13:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1733866087; x=1734470887; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TBidQLcmqhrHE97d1UpzK+u/zx+6uFWz8OaiZXKyY38=; b=rdBvaUnvY7LcDrwMhnw5KR46rYgNLReQEwEanoVmjKMDGRRcAUTan65lgtlWNULiWo 7meDBdw9TOdKzKkeYczcNuqYapPdatyVnAfG7dYU2iGJz3vUSl9j7lTvE9T1K4Yltv2J Zcx6zQyFTXnsoxdrgqDqJxCjjvwQM/CSPjOwmzYmvIlbJ+yUhgEUqAA+p5khcX5fk1wc UD5PwU2KtU8/i1Vp5oV3PB+9ChfnLyuwFeTpkYf6Y8DqA90apITiFj0qmx4eSDWhO8dH YQ324uMGwRePNaPZDpwT4k6YhN6jYQ/Asp8laVR5TU3hVH2d8rsFsEmptCcXNfVgq+xQ LStw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733866087; x=1734470887; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TBidQLcmqhrHE97d1UpzK+u/zx+6uFWz8OaiZXKyY38=; b=ePp0GjjDqprKQRM8a1c6cbop4iDyogKlrH2UbZVRtmwlbhygy5dHFQbgVFQCJhNoq9 SAApdxQM9OupchE0ZupTBntOt4n7NwhpdGFjI6uRvEzIBmyjll7Qz7oohEN1r69MFwnt Vn/HrVVVFf4oMEDGCijMBkSpUwjd714F7okWvg4VJIIxq5Yj4uKC8frNmK0BPR6w0IR7 0MeO5+FCi4L+NZS2E0415YdCsYURdSLBE6pDxiivz3ToiFbnGIfYM0PRVyo5YQ0a6ZPS tlI+xalf2+NZ2rr5sD6ZUhbVY0vQIbiWYBoBnsWhyoWsFG00FNl8tkeepnAKgntDmMWW fV3g== X-Gm-Message-State: AOJu0Yw7OrHqfvKefvIFOb8RzZl8sA1qZy86pImCRD8jPPVo9VqwZH0P qKQPgy+tnzjm7SU9l8do2hVaXidezwc0bwm1ZmCnThD+A6I1Cr7csUmtBgXquSYXVpQDUbqipAF e X-Gm-Gg: ASbGncvDkKdgg25wGFspUy2nkXexQ9e6Nh3PD3qY+gF+ljcKalJce0RuU5z67AA6zrx UewllTRh2n1Pw8rs/3m9/VOqIul4V4Tbuf7nkZ6hbW4F/5g9mUTnJ0AdqNnxuYU3S7Kj/Q2+eXA tlsio3DeChOufutCA99p2HfAaVLLUuqLeWvcbM42obIjmgBG5tc80xvDcm5BSiiMsAB20jbSVJ+ +sfhz9DW1iUNAPakrqxBXYnDTkp2/TJJQwm/32LGuLKuVbgzV1sIYpAnYuPRc6TyFdwPQwVbX6e WUPFR7eQYAXQLNibg7YbPeN8l0QUM1c= X-Google-Smtp-Source: AGHT+IFmv4IOm9ab56bFUcsM9wHtIZwJ3Q2EEDrHgozgfAXjwf4mufEA5IFRArP53O+FXtEMkW2MAA== X-Received: by 2002:a05:6a20:8423:b0:1e1:ba54:ffee with SMTP id adf61e73a8af0-1e1c12f3e58mr1247315637.21.1733866087421; Tue, 10 Dec 2024 13:28:07 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-725e7c98efbsm4972577b3a.186.2024.12.10.13.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 13:28:06 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC 0/8] ioring: network driver Date: Tue, 10 Dec 2024 13:23:31 -0800 Message-ID: <20241210212757.83490-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 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 first draft 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 | 14 + doc/guides/nics/index.rst | 1 + doc/guides/nics/ioring.rst | 66 ++ drivers/net/ioring/meson.build | 12 + drivers/net/ioring/rte_eth_ioring.c | 1067 +++++++++++++++++++++++++++ drivers/net/meson.build | 1 + 6 files changed, 1161 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