Message ID | 20240813211317.3381180-1-almasrymina@google.com |
---|---|
Headers | show
Return-Path: <SRS0=8ccX=PM=vger.kernel.org=sparclinux+bounces-1931-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=P1Y71FRH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=mail.ozlabs.org; envelope-from=srs0=8ccx=pm=vger.kernel.org=sparclinux+bounces-1931-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wk3ym1WZqz1yfY for <incoming@patchwork.ozlabs.org>; Wed, 14 Aug 2024 07:13:35 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4Wk3yf683jz4x5G for <incoming@patchwork.ozlabs.org>; Wed, 14 Aug 2024 07:13:30 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4Wk3yf64gHz4x8M; Wed, 14 Aug 2024 07:13:30 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=P1Y71FRH; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=sparclinux+bounces-1931-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4Wk3yf27qXz4x5G for <patchwork-incoming@ozlabs.org>; Wed, 14 Aug 2024 07:13:30 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DE1281F234BD for <patchwork-incoming@ozlabs.org>; Tue, 13 Aug 2024 21:13:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5ED61AAE00; Tue, 13 Aug 2024 21:13:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="P1Y71FRH" X-Original-To: sparclinux@vger.kernel.org Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D3B61A76C7 for <sparclinux@vger.kernel.org>; Tue, 13 Aug 2024 21:13:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723583603; cv=none; b=ClYyOLvumLkKN0AMbJT0DHKkFPlPvxTfmSR/ztDpUKOB6aXkOoeVTiDPb5MZaQkxnZ9dWM07CVaR69wJPnYmUZVc+iqFcKKUxLQKVfcflpYaS4l48JgPFnXv94b3oQThDk9N2kXPNZeO2EJfEabMaZs5syE9udD6dsvezYCfzdg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723583603; c=relaxed/simple; bh=ZP7QZ76eIuRoT3BVc36Wki3NiwJD/lLlmAkNiCa5gI4=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=qXQksERaAzJ0/fwhNmO7tzXTGzHjH1pSMQjK0bRinZJ7LLTb79QOYdfzXdGyLvc4ZJHJMROU9BoeytJD/NvVgdP+zZ/SafFLJP2fLMUBOquc9yG1nyYtPLK4OA7mmdYPfGoSseWmT+IOpZ9tTS5MQtig6rlayAnvAgNzqm4JNrE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--almasrymina.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=P1Y71FRH; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--almasrymina.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-68d1d966ef7so128865527b3.1 for <sparclinux@vger.kernel.org>; Tue, 13 Aug 2024 14:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1723583599; x=1724188399; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:from:to:cc:subject:date:message-id:reply-to; bh=diAOW+Q0jhVip2GqUkXQtx/A66rcp7FX1AET63heWzo=; b=P1Y71FRHdtrds502LiZFmvAlvJeO4kCcqoBxrFeEK7yEGhk/6xyvWrCAvCfEylreFs Q348MKpARXpCHZ5FthUgpB6n1cWvt9uMS/WzsvZVROI6lDz1he0gB+1QfAhH3RBiYtAc MkZpVBbdmp1RYnIAQGwU0Ty6QDONaFc3d29H3poUrPa5zlJpaH7yihWMaHx5Hhkik1Uw XxZOeBleOFcWAqHVvZvR+k4TKUpmQIdv8XjLBPVw2hCBROrUl8toNy4HuBii8DXpKnQt O78PFrfWVqr1Ggd1eXBH1HJl7DT+NkbpXULMlixQjU4S3vaR9OoSyisDZhGctA7uaERx VogQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723583599; x=1724188399; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=diAOW+Q0jhVip2GqUkXQtx/A66rcp7FX1AET63heWzo=; b=rO+BQhGjRy1GSRf8YpLCuGLC2VSw700pgouVKkUA9Nr1gytiqwUt/P32/qvm9VEe+K xbz3uE8JxP6swpeEAvYTSfqg3vq2K9moK2F6NFNV+VLfMKtFCrmNdeg5wQA7BDW8+5gD bu+E8FKr1XgQrbXXzOXJCXNPJ64+u40XWw4BckdKLY59oM045F/uhlNVnHYVbIhzTgV0 xin9KdU1hhNZUQ+DvjQI+/TOR2ZVfxU4Jy50NqlK0c7i0U24f2z9kNQMko7EoI3hqMGq qHBQPOqgcdzq35DD3l6H+M6EeXdq4Q6eDD7mGms/gREnP9WS4eTXmIu5HSLL0K7MdOVL SuEw== X-Forwarded-Encrypted: i=1; AJvYcCXpCorBuDl2RQwmMVsqmjypgki+gD5djKa0DGlsSSAhnUmQrCfeqY5EfxVTtoqKqbsWne0qKZXO9VvMa2+9oLIK1MIbMxH37guGkA== X-Gm-Message-State: AOJu0Yw112yz6L+My1cC3D+lUEKKVgijV1y/gzeMMVRFdTiLVGpBgy80 luwfdDFapOW2zAqn0CdQHQFCfekJrmlYo0FgU5dqC3j7LgKVlNWuvpPk+MjTSB7ocwxBRF6vc+P U3PiVgQoJZEjIiyacGm12MA== X-Google-Smtp-Source: AGHT+IH8w4QeYtEGrXozR65EIhK8WNJpslQ91I8gAUqfl0gldGmSLswWE3TxIAKJdJ3346xcCNqRxR+cmWN3fvBVEg== X-Received: from almasrymina.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:4bc5]) (user=almasrymina job=sendgmr) by 2002:a05:690c:2c8e:b0:6aa:4e36:491e with SMTP id 00721157ae682-6ac99fa8e2amr13107b3.8.1723583599385; Tue, 13 Aug 2024 14:13:19 -0700 (PDT) Date: Tue, 13 Aug 2024 21:13:02 +0000 Precedence: bulk X-Mailing-List: sparclinux@vger.kernel.org List-Id: <sparclinux.vger.kernel.org> List-Subscribe: <mailto:sparclinux+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:sparclinux+unsubscribe@vger.kernel.org> Mime-Version: 1.0 X-Mailer: git-send-email 2.46.0.76.ge559c4bf1a-goog Message-ID: <20240813211317.3381180-1-almasrymina@google.com> Subject: [PATCH net-next v19 00/13] Device Memory TCP From: Mina Almasry <almasrymina@google.com> To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, bpf@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Mina Almasry <almasrymina@google.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Donald Hunter <donald.hunter@gmail.com>, Jonathan Corbet <corbet@lwn.net>, Richard Henderson <richard.henderson@linaro.org>, Ivan Kokshaysky <ink@jurassic.park.msu.ru>, Matt Turner <mattst88@gmail.com>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>, Helge Deller <deller@gmx.de>, Andreas Larsson <andreas@gaisler.com>, Jesper Dangaard Brouer <hawk@kernel.org>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Steven Rostedt <rostedt@goodmis.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Arnd Bergmann <arnd@arndb.de>, Steffen Klassert <steffen.klassert@secunet.com>, Herbert Xu <herbert@gondor.apana.org.au>, David Ahern <dsahern@kernel.org>, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Shuah Khan <shuah@kernel.org>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, John Fastabend <john.fastabend@gmail.com>, Sumit Semwal <sumit.semwal@linaro.org>, " =?utf-8?q?Christian_K=C3=B6nig?= " <christian.koenig@amd.com>, Bagas Sanjaya <bagasdotme@gmail.com>, Christoph Hellwig <hch@infradead.org>, Nikolay Aleksandrov <razor@blackwall.org>, Taehee Yoo <ap420073@gmail.com>, Pavel Begunkov <asml.silence@gmail.com>, David Wei <dw@davidwei.uk>, Jason Gunthorpe <jgg@ziepe.ca>, Yunsheng Lin <linyunsheng@huawei.com>, Shailend Chand <shailend@google.com>, Harshitha Ramamurthy <hramamurthy@google.com>, Shakeel Butt <shakeel.butt@linux.dev>, Jeroen de Borst <jeroendb@google.com>, Praveen Kaligineedi <pkaligineedi@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable |
Series |
Device Memory TCP
|
expand
|
On Tue, 13 Aug 2024 21:13:02 +0000 Mina Almasry wrote: > v18 got a thorough review (thanks!), and this iteration addresses the > feedback. > > Major changes: > - Prevent deactivating mp bound queues. > - Prevent installing xdp on mp bound netdevs, or installing mps on xdp > installed netdevs. > - Fix corner cases in netlink API vis-a-vis missing attributes. > - Iron out the unreadable netmem driver support story. To be honest, the > conversation with Jakub & Pavel got a bit confusing for me. I've > implemented an approach in this set that makes sense to me, and > AFAICT, addresses the requirements. It may be good as-is, or it > may be a conversation starter/continuer. To be honest IMO there > are many ways to skin this cat and I don't see an extremely strong > reason to go for one approach over another. Here is one approach you > may like. > - Don't reset niov dma_addr on allocation & free. > - Add some tests to the selftest that catches some of the issues around > missing netlink attributes or deactivating mp-bound queues. Something is going awry in two existing test: https://netdev.bots.linux.dev/contest.html?branch=net-next-2024-08-14--15-00&pw-n=0&pass=0 Example: https://netdev-3.bots.linux.dev/vmksft-net-drv/results/727462/2-queues-py/stdout I'll take a closer look at the code in the evening, but gotta discard if from pw already..