From: Ivan Mikhaylov <fr0st61te@gmail•com>
To: Samuel Mendoza-Jonas <sam@mendozajonas•com>,
"David S . Miller" <davem@davemloft•net>,
Eric Dumazet <edumazet@google•com>,
Jakub Kicinski <kuba@kernel•org>, Paolo Abeni <pabeni@redhat•com>,
Rob Herring <robh+dt@kernel•org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro•org>
Cc: netdev@vger•kernel.org, devicetree@vger•kernel.org,
linux-kernel@vger•kernel.org,
Ivan Mikhaylov <fr0st61te@gmail•com>,
Paul Fertser <fercerpav@gmail•com>
Subject: [PATCH 3/4] net/ftgmac100: add mac-address-increment option for GMA command from NC-SI
Date: Thu, 13 Apr 2023 00:29:04 +0000 [thread overview]
Message-ID: <20230413002905.5513-4-fr0st61te@gmail.com> (raw)
In-Reply-To: <20230413002905.5513-1-fr0st61te@gmail.com>
Add s32 mac-address-increment option for Get MAC Address command from
NC-SI.
Signed-off-by: Paul Fertser <fercerpav@gmail•com>
Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail•com>
---
Documentation/devicetree/bindings/net/ftgmac100.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ftgmac100.txt b/Documentation/devicetree/bindings/net/ftgmac100.txt
index 29234021f601..7ef5329d888d 100644
--- a/Documentation/devicetree/bindings/net/ftgmac100.txt
+++ b/Documentation/devicetree/bindings/net/ftgmac100.txt
@@ -22,6 +22,10 @@ Optional properties:
- use-ncsi: Use the NC-SI stack instead of an MDIO PHY. Currently assumes
rmii (100bT) but kept as a separate property in case NC-SI grows support
for a gigabit link.
+- mac-address-increment: Increment the MAC address taken by GMA command via
+ NC-SI. Specifies a signed number to be added to the host MAC address as
+ obtained by the OEM GMA command. If not specified, 1 is used by default
+ for Broadcom and Intel network cards, 0 otherwise.
- no-hw-checksum: Used to disable HW checksum support. Here for backward
compatibility as the driver now should have correct defaults based on
the SoC.
--
2.40.0
next prev parent reply other threads:[~2023-04-12 21:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 0:29 [PATCH 0/4] Refactoring for GMA command Ivan Mikhaylov
2023-04-13 0:29 ` [PATCH 1/4] net/ncsi: make one oem_gma function for all mfr id Ivan Mikhaylov
2023-04-13 0:29 ` [PATCH 2/4] net/ncsi: change from ndo_set_mac_address to dev_set_mac_address Ivan Mikhaylov
2023-04-13 0:29 ` Ivan Mikhaylov [this message]
2023-04-13 7:53 ` [PATCH 3/4] net/ftgmac100: add mac-address-increment option for GMA command from NC-SI Krzysztof Kozlowski
2023-04-18 18:54 ` Rob Herring
2023-04-23 1:02 ` Ivan Mikhaylov
2023-04-13 0:29 ` [PATCH 4/4] net/ncsi: add shift MAC address property Ivan Mikhaylov
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=20230413002905.5513-4-fr0st61te@gmail.com \
--to=fr0st61te@gmail$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=edumazet@google$(echo .)com \
--cc=fercerpav@gmail$(echo .)com \
--cc=krzysztof.kozlowski+dt@linaro$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=robh+dt@kernel$(echo .)org \
--cc=sam@mendozajonas$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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