From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796479483; b=1eI3dileC0yJiJWtXqKSPT5LiHwIXVOSF/PMaatK7unfnKmArQtcOjM2tieCq9ckjzKQ Web3kRoIgdoBNB465+pQwv8Y77OnPqD0SBiNSMj0mW8l3a5f3nyMFqhFiWz4tRWqM118s VWmBSzfXLu12GlwlIiu9kOFLeDWr+Ozi/i2QbiRaakczDxOaKQ8oBObV+mUiMr3Y8qBwD KyVVE+Mi5z4uPwyLk2i3Cj2+vZwvCzlx/GW5oIzwWMmEUs8/PEAg54LoDSP4Ja7oyDgCM i3nvzI5tDz7QaAZkoe6D7cM80M73BW+Uj97UXZWtEET7Y87FwB8ArLlONFCS1pa1c9w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796479483; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:Content-Transfer-Encoding:MIME-Version; bh=VgQmJoMi2mKqlK11YHhxseLSPS0CLqo90uUJxgGx6tA=; b=fnWqmBz8nyDTEm+yYWaZqZzFSLJKd7p+FgUO6k3KBHsjz+zSML2aLeThGx3dD5pbRcbQ NYQfDqqek+5/qimh/d6ZiYveEJ5co2xI9WG5//yAC1+aNscoanr3zhEKmahvp3ghb7TMC QqVAVQ+yE3JzdX+zTs63sOJc9kJZ0WBUEHjvbuweqvxCR7ShmZghpga3AFiowBlYR0Ca3 0yxjRGfzUVmEi7Yvuh9iPAux42OHzPfoLaDFA8xJjcRhURABUmc25BpaSvPca2Mbwmm+O 0yk0PKN1UtXdeowMHCeFjqT7phChU/s9Mme+1fV43jsTw9tJQbqgJgUVY/Qo8O6PIxw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="x/3SqCBP"; arc=none smtp.remote-ip=209.85.167.42 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81F9B606A335 for ; Sat, 5 Dec 2026 14:04:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 81F9B606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=x/3SqCBP Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-5c158c4c15fso1959446e87.1 for ; Sat, 05 Dec 2026 06:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796479482; x=1797084282; darn=vger.kernel.org; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=VgQmJoMi2mKqlK11YHhxseLSPS0CLqo90uUJxgGx6tA=; b=x/3SqCBPLfHgioIwWyz5nNqdwN6wzPuehOSKPhv8Z0NE8U+bB+mu/WqKSHJT0/ndxq 4svbc5mCaeZsvmvQolcZUgp6BeoyH/RRjS/ww+VLbxUgDWzG1+GDVyTUCADuiL6fJeeo aZA8hI3xlw2tuWKEfvTYj6OuckJTrwhz3Hman/gk8cSjUDaglhvoMaAypzADDuhIO3Iy vhz4KW6snbiKEHAinwtmpFlJcPMLWDLyTTQOut3hvRilaxkBQRoKhoPvhn+fOUjobP6+ drubCmP7LppPvSffXsObR/ORDLtOI4gLqFnLVOW+etZkukAGKedvzYZS/mpPgj4Cg3PQ GEzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796479482; x=1797084282; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=VgQmJoMi2mKqlK11YHhxseLSPS0CLqo90uUJxgGx6tA=; b=k+OVppQ9dOcFhKilRAlQYHlsHwB8qVSKEZUgsBDXzVprpCERvWTJUixPPpcu3a4Rv3 7/kfbuIDSYYlTalXuWjlRMsu/ey+7gjNIj/ObFgXOizaRczt0//rBqpBP9uOemJVTYfm z7+PcKB/N2m35Snye+EaEc/TVFeSylXc0SCrH7NPHOFsdZEAGTM98U90/p+Yz7ztEetS 05o7Ai8PiDa8x+Oi0P+JGNkFjKnk07D8qUsDTPBmxdO5ew6dt49C6Z6IAIusb1CHRS7T r2Z8GCg8vOAutLgvk3wKi+6y9ftLKUTuhHWSX4o98IkeO7N5UCzZHF4uZjTnzJrX9+DG cq2Q== X-Forwarded-Encrypted: i=1; AL+hErGgWzhsxe1yqA88/h4g6SzCirg1vFE+p2ECNfYJwy9NNm4ev5aTGx/1/cig3If4q3b4jxwobnzhuLgi@vger.kernel.org X-Gm-Message-State: AB4q+uGwnYedOSdmYCCzl+JfB+XJS3pYyvEGBdot4RRxbHHxDLBv/2gt DThZ+BoXCnv8qEwmvSsSfIKQ6m8CWNSkUwg3dzTO/ajVrHfTgn77flNd X-Gm-Gg: AZFdTZfziI3ofD7P49Q+zjN0NnTxvAfgLMqBywwc629jDQ2JJ61av0cI3Rh028yLa2Y Yw0zc9V2wA/xAW75qD3c3APIfY8JTRyC9MYYCtFTwSys4BIh6cSDnqPYpNWTVPVPUy2YMltOEBE uoYQbuXrcIyThwqBQVBIy7h7gz0jdorhEGkocjnO00vrK/a8jQBvEOLn1DNtsOzqxfTQKbuRhfX 2lWS42V+jjaaFLfh2xn7vtZVhaX2OqBCiT/dWDKL25Z4R4o1J9R4174kVTn6n7JaD3QV8CFLzg+ +B6C0WT+5R5XCLkBLLXSPA0Dez3mLTf3fjzD1n/55XmNcz2+NZ2jQAzIshDO9kDIU82w7MRxCTi KzSQvjH9XAZ8tBAD4gK8qDlGueWysG8w4cDR7cBDNL1oIKxeuXqR1dzHPI0q1wDyzc/sJWNnJCi cl6qKm2glwVgPofUkBykBbYkQPfy2ukTM3zTOf5k3+wdrZGahIo+z4UOCicHUu3iR0IGw0VzTiX 3jq2WfAgFF858tUceu26WaYEMiULbGpIFjYraTOsaTziJDazkRy4z+mYKuwGHMpXvbmHSTfrRir K4mDCu1qBQJzbihppKtxV6BzR1aTWM5kFymMZH71wPUAflKMmgeAIFU= X-Received: by 2002:a05:6512:3e1c:b0:5c1:4ede:6fcb with SMTP id 2adb3069b0e04-5c38616b8damr1155141e87.8.1796479481584; Sat, 05 Dec 2026 06:04:41 -0800 (PST) Received: from [127.0.1.1] (ip-024-180.users.dtel.ru. [91.210.24.180]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5c384abe58csm1460087e87.84.2026.12.05.06.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 06:04:41 -0800 (PST) From: Fil Dunsky To: sashiko-reviews@lists.linux.dev Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org Subject: Re: [PATCH net-next v8 2/3] net: cortina: Add CS7542 CPU network datapath Date: Sat, 05 Dec 2026 13:53:41 -0000 Message-ID: <179647882170.6.6820387330319858360@gmail.com> In-Reply-To: References: <20261204-b4-cs7542-ethernet-v8-0-4b625ce9fe82@gmail.com> <20261204-b4-cs7542-ethernet-v8-2-4b625ce9fe82@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thanks for the review. v9 disables netpoll for the shared TX ring, takes a reference on each port's DT node until after phylink teardown, uses GFP_KERNEL for the probe-time RX pool, and uses DEV_STATS_INC() for the error and drop counters. The linear and scatter-gather TX paths share the descriptor helper and write the DMA words in little-endian order. The head is published once, after the complete frame has been mapped. Updates to head, tail and fault use WRITE_ONCE() to pair with the lockless reads. The shared lock still protects mapping and completion against per-port TX and teardown. RX now uses the refreshed XRAM write pointer. The IRQ handler still acknowledges the latch, so a stale latch can cause an extra empty poll. The current RX lock and jumbo skb allocation are retained. The receive path copies from a persistent DMA pool, and transferring those pages to the stack would also require changing how the pool is replenished. The DRR bypass command addresses the port shaper, so v9 issues it once per port, outside the queue loop. The per-queue DRR enable commands and the existing LT/ST programming are retained. I'll post the full v9 series separately. Thanks, Fil