* [PATCH net-next] net: phy: add extension of phy-mode for XLGMII
@ 2017-01-04 5:04 Jie Deng
2017-01-04 18:42 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Jie Deng @ 2017-01-04 5:04 UTC (permalink / raw)
To: f.fainelli, davem; +Cc: netdev, linux-kernel, Jie Deng
The Synopsys DWC_xlgmac core provides a multiplexed 40-Gigabit
Media-Independent Interface (XLGMII, an IEEE 802.3 Clause 81
compliant reconciliation sub-layer) for communication with
the 100/50/40/25-Gigabit PHY and 10-Gigabit Media-Independent
Interface (XGMII, an IEEE 802.3 Clause 46 compliant reconciliation
sub-layer) for communication with the 10-Gigabit PHY.
Currently, There are only interface mode definitions for "xgmii".
This patch adds the definitions for the PHY layer to recognize
"xlgmii" as a valid PHY interface.
Signed-off-by: Jie Deng <jiedeng@synopsys.com>
---
include/linux/phy.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index f7d95f6..7b6bfb3 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -82,6 +82,7 @@
PHY_INTERFACE_MODE_MOCA,
PHY_INTERFACE_MODE_QSGMII,
PHY_INTERFACE_MODE_TRGMII,
+ PHY_INTERFACE_MODE_XLGMII,
PHY_INTERFACE_MODE_MAX,
} phy_interface_t;
@@ -142,6 +143,8 @@ static inline const char *phy_modes(phy_interface_t interface)
return "qsgmii";
case PHY_INTERFACE_MODE_TRGMII:
return "trgmii";
+ case PHY_INTERFACE_MODE_XLGMII:
+ return "xlgmii";
default:
return "unknown";
}
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: phy: add extension of phy-mode for XLGMII
2017-01-04 5:04 [PATCH net-next] net: phy: add extension of phy-mode for XLGMII Jie Deng
@ 2017-01-04 18:42 ` David Miller
2017-01-04 18:46 ` Florian Fainelli
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2017-01-04 18:42 UTC (permalink / raw)
To: Jie.Deng1; +Cc: f.fainelli, netdev, linux-kernel
From: Jie Deng <Jie.Deng1@synopsys.com>
Date: Wed, 4 Jan 2017 13:04:04 +0800
> The Synopsys DWC_xlgmac core provides a multiplexed 40-Gigabit
> Media-Independent Interface (XLGMII, an IEEE 802.3 Clause 81
> compliant reconciliation sub-layer) for communication with
> the 100/50/40/25-Gigabit PHY and 10-Gigabit Media-Independent
> Interface (XGMII, an IEEE 802.3 Clause 46 compliant reconciliation
> sub-layer) for communication with the 10-Gigabit PHY.
>
> Currently, There are only interface mode definitions for "xgmii".
> This patch adds the definitions for the PHY layer to recognize
> "xlgmii" as a valid PHY interface.
>
> Signed-off-by: Jie Deng <jiedeng@synopsys.com>
It makes no sense to add these definitions unless you also submit
uses of them alongside at the same time.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: phy: add extension of phy-mode for XLGMII
2017-01-04 18:42 ` David Miller
@ 2017-01-04 18:46 ` Florian Fainelli
0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2017-01-04 18:46 UTC (permalink / raw)
To: David Miller, Jie.Deng1; +Cc: netdev, linux-kernel
On 01/04/2017 10:42 AM, David Miller wrote:
> From: Jie Deng <Jie.Deng1@synopsys.com>
> Date: Wed, 4 Jan 2017 13:04:04 +0800
>
>> The Synopsys DWC_xlgmac core provides a multiplexed 40-Gigabit
>> Media-Independent Interface (XLGMII, an IEEE 802.3 Clause 81
>> compliant reconciliation sub-layer) for communication with
>> the 100/50/40/25-Gigabit PHY and 10-Gigabit Media-Independent
>> Interface (XGMII, an IEEE 802.3 Clause 46 compliant reconciliation
>> sub-layer) for communication with the 10-Gigabit PHY.
>>
>> Currently, There are only interface mode definitions for "xgmii".
>> This patch adds the definitions for the PHY layer to recognize
>> "xlgmii" as a valid PHY interface.
>>
>> Signed-off-by: Jie Deng <jiedeng@synopsys.com>
>
> It makes no sense to add these definitions unless you also submit
> uses of them alongside at the same time.
Correct, also, this is incomplete, you must include a change to
Documentation/devicetree/bindings/net/ethernet.txt to reflect this new mode.
Thank you
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-04 18:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 5:04 [PATCH net-next] net: phy: add extension of phy-mode for XLGMII Jie Deng
2017-01-04 18:42 ` David Miller
2017-01-04 18:46 ` Florian Fainelli
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®