From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hpOdkLMS" Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75A2E5; Mon, 11 Dec 2023 05:40:12 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1f6433bc1eso642048266b.1; Mon, 11 Dec 2023 05:40:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702302011; x=1702906811; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1DOYBiSnMBUZpB8aPlwqoVslXzDkYwM7n0lC23HDZjU=; b=hpOdkLMSt1RyI9O1R1wm6OMHxty6zNq50Bs7jaoDW5EjOg58xfp6XrXY/Yj5tSAvIE P30gYgxz+hQFsVyYNa0Kqk7d0A864v/L8cajZpK2be3f5u+k+oWFXAsBs7VgK0wulFWD b4gnQGhq5VlhdkqRQvglu+6suJTg0WNjx6Le4ZMvGlA2aTV9L0KVWGSU1/n/cMLTerpu a/KI1lLYr2OHNvX+rBzed6NX7gmo6k8pakUs92zuWQR/aufhJmaXgbzFXRlJ1T/qVihF Zj742/oi9h1wMW9s7Oeo6HWz7bJRlnxoxP532EoAtRhkz8dykE3S0Med6OhwFx51d1h5 Ee/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702302011; x=1702906811; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1DOYBiSnMBUZpB8aPlwqoVslXzDkYwM7n0lC23HDZjU=; b=klaco6CzWTigCXFUqbs1E+gyVqqstolEYx4Z1kzU8LCEXZMyGRwLujyHgePweGdf2X xCoVdCR3DgIhMGZAwDoKKJaEe7NYcgK+ELuhXL9+YXgbLJHLhCArs2EgZpZv6YCWzymo wUQ5yR7/ZGS3HhU4zy3I5OU4MTu34syzpmlNsb9kaqch5SLQmI/rKlvGbJ1FrmSkMc9p a9has4aEGcRXjNsdQCKAOEfFAkgYhCPQNApfoqfXtPyzEl924Qfsh0aPjC3cCeTN4BPy t58KQZGZVYioN6M37vTyu+TYwGjjQfcCVIAQQJrflbD+2jDI2XMzU45IqeCwdtPrr9pr gawg== X-Gm-Message-State: AOJu0Yx7YK/P0S51GpPNleI14Hidu8NIZjEI+D30rAIv54QM3ERIYcKw 3G1JkD/j9YN4smd+G7Th84U= X-Google-Smtp-Source: AGHT+IG1DcEeU91kg6P+z6Hh0pDv+PfBGoLPpOL7Q7t0PdRFfZLow75jSesZQXYB3JHKVwCeNnRYBQ== X-Received: by 2002:a17:906:241:b0:a1e:842d:ccd5 with SMTP id 1-20020a170906024100b00a1e842dccd5mr3960239ejl.48.1702302010984; Mon, 11 Dec 2023 05:40:10 -0800 (PST) Received: from skbuf ([188.27.185.68]) by smtp.gmail.com with ESMTPSA id vx6-20020a170907a78600b00a1e852ab3f0sm4911417ejc.15.2023.12.11.05.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:40:10 -0800 (PST) Date: Mon, 11 Dec 2023 15:40:08 +0200 From: Vladimir Oltean To: Jianheng Zhang Cc: Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , "open list:STMMAC ETHERNET DRIVER" , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" , open list , James Li , Martin McKenny Subject: Re: [PATCH net-next] net: stmmac: xgmac3+: add FPE handshaking support Message-ID: <20231211134008.lbtm6pjtufkhtvfj@skbuf> References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Jianheng, On Mon, Dec 11, 2023 at 06:13:21AM +0000, Jianheng Zhang wrote: > Adds the HW specific support for Frame Preemption handshaking on XGMAC3+ > cores. > > Signed-off-by: Jianheng Zhang > --- It's nice to see contributions from Synopsys! Have you seen the (relatively newly introduced) common framework for Frame Preemption and the MAC Merge layer? https://docs.kernel.org/networking/ethtool-netlink.html#mm-get https://man7.org/linux/man-pages/man8/ethtool.8.html https://man7.org/linux/man-pages/man8/tc-mqprio.8.html # "fp" option https://man7.org/linux/man-pages/man8/tc-taprio.8.html # "fp" option I think it would be valuable if the stmmac driver would also use it, so it could support openlldp and pass the selftest at https://github.com/torvalds/linux/blob/master/tools/testing/selftests/net/forwarding/ethtool_mm.sh