From: Pranavi Somisetty <pranavi.somisetty@amd.com>
To: <nicolas.ferre@microchip.com>, <claudiu.beznea@microchip.com>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <richardcochran@gmail.com>,
<linux@armlinux.org.uk>, <palmer@dabbelt.com>
Cc: <git@amd.com>, <michal.simek@amd.com>, <harini.katakam@amd.com>,
<radhey.shyam.pandey@amd.com>, <pranavi.somisetty@amd.com>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-riscv@lists.infradead.org>
Subject: [PATCH net-next v2 1/2] dt-bindings: net: cdns,macb: Add rx-watermark property
Date: Thu, 11 May 2023 01:12:13 -0600 [thread overview]
Message-ID: <20230511071214.18611-2-pranavi.somisetty@amd.com> (raw)
In-Reply-To: <20230511071214.18611-1-pranavi.somisetty@amd.com>
watermark value is the minimum amount of packet data
required to activate the forwarding process. The watermark
implementation and maximum size is dependent on the device
where Cadence MACB/GEM is used.
Signed-off-by: Pranavi Somisetty <pranavi.somisetty@amd.com>
---
Documentation/devicetree/bindings/net/cdns,macb.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml
index bef5e0f895be..779bc25cf005 100644
--- a/Documentation/devicetree/bindings/net/cdns,macb.yaml
+++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml
@@ -109,6 +109,13 @@ properties:
power-domains:
maxItems: 1
+ rx-watermark:
+ maxItems: 1
+ $ref: /schemas/types.yaml#/definitions/uint16
+ description:
+ Set watermark value for pbuf_rxcutthru reg and enable
+ rx partial store and forward.
+
'#address-cells':
const: 1
@@ -166,6 +173,7 @@ examples:
compatible = "cdns,macb";
reg = <0xfffc4000 0x4000>;
interrupts = <21>;
+ rx-watermark = /bits/ 16 <0x44>;
phy-mode = "rmii";
local-mac-address = [3a 0e 03 04 05 06];
clock-names = "pclk", "hclk", "tx_clk";
--
2.36.1
next prev parent reply other threads:[~2023-05-11 7:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-11 7:12 [PATCH net-next v2 0/2] Add support for partial store and forward Pranavi Somisetty
2023-05-11 7:12 ` Pranavi Somisetty [this message]
2023-05-11 7:25 ` [PATCH net-next v2 1/2] dt-bindings: net: cdns,macb: Add rx-watermark property Conor Dooley
2023-05-11 22:29 ` Conor Dooley
2023-05-11 14:03 ` Krzysztof Kozlowski
2023-05-11 15:41 ` Andrew Lunn
2023-05-11 7:12 ` [PATCH net-next v2 2/2] net: macb: Add support for partial store and forward Pranavi Somisetty
2023-05-11 7:28 ` Conor Dooley
2023-05-11 13:08 ` Simon Horman
2023-05-11 15:49 ` Andrew Lunn
2023-05-12 7:57 ` Claudiu.Beznea
2023-05-12 11:53 ` Somisetty, Pranavi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230511071214.18611-2-pranavi.somisetty@amd.com \
--to=pranavi.somisetty@amd.com \
--cc=claudiu.beznea@microchip.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=git@amd.com \
--cc=harini.katakam@amd.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=michal.simek@amd.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=pabeni@redhat.com \
--cc=palmer@dabbelt.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=richardcochran@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®