Hi Florian,
On Wed, Jan 23, 2019 at 12:11:37PM -0800, Florian Fainelli wrote:
> On 1/23/19 7:56 AM, Antoine Tenart wrote:
> > This patch moves some structure, type and identifier definitions into a
> > MACsec specific header. This patch does not modify how the MACsec code
> >
Hi Andrew,
On Wed, Jan 23, 2019 at 06:08:16PM +0100, Andrew Lunn wrote:
> > +int phy_macsec(struct phy_device *phydev, struct netdev_macsec *macsec)
> > +{
> > + int ret = -EOPNOTSUPP;
> > +
> > + if (!phydev->drv)
> > + return -EIO;
> > +
> > + mutex_lock(>lock);
> > +
> > + if
Hi Andrew,
On Wed, Jan 23, 2019 at 06:03:06PM +0100, Andrew Lunn wrote:
> On Wed, Jan 23, 2019 at 04:56:30PM +0100, Antoine Tenart wrote:
> > This cosmetic patch converts the macsec implementation license header to
> > the now recommended format, SPDX.
> >
> > Si
This cosmetic patch converts the macsec implementation license header to
the now recommended format, SPDX.
Signed-off-by: Antoine Tenart
---
drivers/net/macsec.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c
index
outside macsec.c.
Signed-off-by: Antoine Tenart
---
drivers/net/macsec.c | 164 +--
include/net/macsec.h | 178 +++
2 files changed, 179 insertions(+), 163 deletions(-)
create mode 100644 include/net/macsec.h
diff --git
specific structures which
contain the actual MACsec configuration.
Signed-off-by: Antoine Tenart
---
include/net/macsec.h | 45
1 file changed, 45 insertions(+)
diff --git a/include/net/macsec.h b/include/net/macsec.h
index 15ff331dd670..1e4d37c190ed
a Microsemi Ocelot PHY.
Signed-off-by: Antoine Tenart
---
drivers/net/phy/Kconfig | 2 +
drivers/net/phy/mscc.c| 559 ++
drivers/net/phy/mscc_macsec.h | 2 +
3 files changed, 563 insertions(+)
diff --git a/drivers/net/phy/Kconfig b/drivers/net
This patch introduces a net_device_ops MACsec helper to allow net device
drivers to implement a MACsec offloading solution.
Signed-off-by: Antoine Tenart
---
include/linux/netdevice.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/netdevice.h b/include/linux
This patch introduce a new netdev feature, which will be used by drivers
to state they can perform MACsec transformations in hardware.
Signed-off-by: Antoine Tenart
---
include/linux/netdev_features.h | 3 +++
net/core/ethtool.c | 1 +
2 files changed, 4 insertions(+)
diff --git
, but it
should be added in the future so that the MACsec state can be reported
to the user (which would also improve the debug).
Signed-off-by: Antoine Tenart
---
drivers/net/macsec.c | 296 +--
1 file changed, 283 insertions(+), 13 deletions(-)
diff --git
ports. With the upcoming MACsec offloading support in this PHY,
we'll need to configure the MACsec engine and to do so changing pages is
required.
Signed-off-by: Antoine Tenart
---
drivers/net/phy/phy-core.c | 6 --
include/linux/phy.h| 3 +++
2 files changed, 7 insertions(+), 2
This patch introduces a phy_driver MACsec helper to allow PHYs to
implement a MACsec offloading solution. The phy_driver MACsec helper is
called through a wrapper, phy_macsec, to perform this call while holding
the phydev lock.
Signed-off-by: Antoine Tenart
---
drivers/net/phy/phy.c | 17
-by: Antoine Tenart
---
drivers/net/phy/mscc.c | 401 +++
drivers/net/phy/mscc_fc_buffer.h | 64 +
drivers/net/phy/mscc_mac.h | 159
drivers/net/phy/mscc_macsec.h| 256
4 files changed, 880 insertions(+)
create mode
. The second patch
implements the phy_driver macsec() helper in the Microsemi Ocelot PHY
driver, and introduce helpers to configure MACsec transformations and
flows to match specific packets.
Comments are of course welcomed. Thanks!
Antoine
Antoine Tenart (10):
net: introduce the MACSEC netdev
)
Reported-by: Russell King
Signed-off-by: Antoine Tenart
---
Since v3:
- Rebase on top of net/master.
Since v2, v1:
- N/A.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
b/d
Hi David,
On Wed, Dec 19, 2018 at 08:34:18AM -0800, David Miller wrote:
> From: Antoine Tenart
> Date: Wed, 19 Dec 2018 09:26:09 +0100
> >
> > The patch 2/2 ("net: mvpp2: fix the phylink mode validation") is still
> > relevant, in addition to the pat
Hi David,
On Tue, Dec 18, 2018 at 04:42:52PM -0800, David Miller wrote:
> From: Antoine Tenart
> Date: Mon, 17 Dec 2018 15:56:04 +0100
>
> > This small series introduces 2 fixes for the phylink validate function
> > of the Marvell PPv2 Ethernet driver.
> >
)
Reported-by: Russell King
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
index 88aa488054a8..f1
ction of 10G SFP modules")
Cc: Baruch Siach
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
b/drivers/net/ethernet/mar
Hi,
This small series introduces 2 fixes for the phylink validate function
of the Marvell PPv2 Ethernet driver.
Since v2:
- Added an additional patch (2/2) as suggested by Russell.
- Rebased on top of net/master.
Since v1:
- Rebased on top of net/master.
Antoine Tenart (2):
net: mvpp2
Hi Russell,
On Fri, Dec 14, 2018 at 04:02:50PM +, Russell King - ARM Linux wrote:
> On Fri, Dec 14, 2018 at 10:34:51AM +0100, Antoine Tenart wrote:
> > The mvpp2_phylink_validate() function sets all modes that are
> > supported by a given PPv2 port. A recent change
ction of 10G SFP modules")
Cc: Baruch Siach
Signed-off-by: Antoine Tenart
---
Since v1:
- Rebased on top of the latest net master branch.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethern
Hi,
On Wed, Dec 12, 2018 at 10:30:33AM +0100, Antoine Tenart wrote:
> On Tue, Dec 11, 2018 at 06:51:56PM +, Russell King - ARM Linux wrote:
> > On Tue, Dec 11, 2018 at 07:53:42PM +0200, Baruch Siach wrote:
> > > That is, something like this, right?
> > >
>
Hi Stefan,
On Tue, Dec 11, 2018 at 09:11:31PM +, Stefan Chulski wrote:
>
> >
> > Are these modes supported on anything except port 0? If not, you should be
> > rejecting these, rather than just treating them as RGMII.
>
> In CP115(which has PPv2) PHY_INTERFACE_MODE_10GKR supported on
Hi Russell, Baruch,
On Tue, Dec 11, 2018 at 06:51:56PM +, Russell King - ARM Linux wrote:
> On Tue, Dec 11, 2018 at 07:53:42PM +0200, Baruch Siach wrote:
> > That is, something like this, right?
> >
> > diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
> >
ction of 10G SFP modules")
Cc: Baruch Siach
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
b/drivers/net/ethernet/mar
Hi Miquel,
On Fri, Nov 23, 2018 at 10:21:15AM +0100, Miquel Raynal wrote:
> Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is
> probably what the original author meant.
>
> Signed-off-by: Miquel Raynal
Acked-by: Antoine Tenart
Thanks!
Antoine
> ---
>
Hi Miquel,
On Fri, Nov 23, 2018 at 10:21:15AM +0100, Miquel Raynal wrote:
> Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is
> probably what the original author meant.
>
> Signed-off-by: Miquel Raynal
Acked-by: Antoine Tenart
Thanks!
Antoine
> ---
>
Hi Miquel,
On Thu, Nov 22, 2018 at 09:19:09PM +0100, Miquel Raynal wrote:
> Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is
> probably what the original author meant.
>
> Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver")
Could you drop the Fixes tag and send
Hi Miquel,
On Thu, Nov 22, 2018 at 09:19:09PM +0100, Miquel Raynal wrote:
> Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is
> probably what the original author meant.
>
> Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver")
Could you drop the Fixes tag and send
This patch adds support for the NETIF_F_RXFCS feature in the Mscc
Ethernet driver. This feature is disabled by default and allow a user
to request the driver not to drop the FCS and to extract it into the skb
for debugging purposes.
Signed-off-by: Antoine Tenart
Reviewed-by: Alexandre Belloni
This patch adds support for the NETIF_F_RXFCS feature in the Mscc
Ethernet driver. This feature is disabled by default and allow a user
to request the driver not to drop the FCS and to extract it into the skb
for debugging purposes.
Signed-off-by: Antoine Tenart
Reviewed-by: Alexandre Belloni
Hi Florian, Dave,
On Wed, Oct 10, 2018 at 10:26:05AM -0700, David Miller wrote:
> From: Florian Fainelli
> Date: Wed, 10 Oct 2018 09:25:01 -0700
> >
> > On October 10, 2018 7:46:31 AM PDT, Antoine Tenart
> > wrote:
> >>
> >>@Dave, Florian: it seems
Hi Florian, Dave,
On Wed, Oct 10, 2018 at 10:26:05AM -0700, David Miller wrote:
> From: Florian Fainelli
> Date: Wed, 10 Oct 2018 09:25:01 -0700
> >
> > On October 10, 2018 7:46:31 AM PDT, Antoine Tenart
> > wrote:
> >>
> >>@Dave, Florian: it seems
This patch adds support for the NETIF_F_RXFCS feature in the Mscc
Ethernet driver. This feature is disabled by default and allow an user
to request the driver not to drop the FCS and to extract it into the skb
for debugging purposes.
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/mscc
This patch adds support for the NETIF_F_RXFCS feature in the Mscc
Ethernet driver. This feature is disabled by default and allow an user
to request the driver not to drop the FCS and to extract it into the skb
for debugging purposes.
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/mscc
wouldn't make sense.
Signed-off-by: Antoine Tenart
---
arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
index 840c8454d03e
This patch describes 3 additional interrupts per PPv2 port. Those
interrupts will be used later in future versions of the Marvell PPv2
driver, and now the device tree description matches the hardware
capabilities.
Signed-off-by: Antoine Tenart
---
arch/arm64/boot/dts/marvell/armada-cp110.dtsi
wouldn't make sense.
Signed-off-by: Antoine Tenart
---
arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
index 840c8454d03e
This patch describes 3 additional interrupts per PPv2 port. Those
interrupts will be used later in future versions of the Marvell PPv2
driver, and now the device tree description matches the hardware
capabilities.
Signed-off-by: Antoine Tenart
---
arch/arm64/boot/dts/marvell/armada-cp110.dtsi
extraction behaviour by discarding
the FCS.
Fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Antoine Tenart
---
Hi all,
Once this patch will be accepted and net merged into net-next, I'll
probably send another patch to fill skb->csum with
extraction behaviour by discarding
the FCS.
Fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Antoine Tenart
---
Hi all,
Once this patch will be accepted and net merged into net-next, I'll
probably send another patch to fill skb->csum with
On Wed, Sep 19, 2018 at 12:50:51PM +0530, Kishon Vijay Abraham I wrote:
> On Wednesday 19 September 2018 12:43 PM, Antoine Tenart wrote:
> >
> > Any update about these two patches?
>
> Looks like patches for this from Jisheng Zhang has already made into the 4.19
> ke
On Wed, Sep 19, 2018 at 12:50:51PM +0530, Kishon Vijay Abraham I wrote:
> On Wednesday 19 September 2018 12:43 PM, Antoine Tenart wrote:
> >
> > Any update about these two patches?
>
> Looks like patches for this from Jisheng Zhang has already made into the 4.19
> ke
Hello Kishon,
Any update about these two patches?
Thanks!
Antoine
On Fri, Jul 13, 2018 at 05:47:03PM +0200, Antoine Tenart wrote:
> Use the appropriate SPDX license identifier and drop the license text.
> This patch is only cosmetic.
>
> Signed-off-by: Antoine Tenart
> ---
Hello Kishon,
Any update about these two patches?
Thanks!
Antoine
On Fri, Jul 13, 2018 at 05:47:03PM +0200, Antoine Tenart wrote:
> Use the appropriate SPDX license identifier and drop the license text.
> This patch is only cosmetic.
>
> Signed-off-by: Antoine Tenart
> ---
Free Electrons became Bootlin. Update my email accordingly.
Signed-off-by: Antoine Tenart
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4ece30f15777..b63f3683d485 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1251,7 +1251,7
Free Electrons became Bootlin. Update my email accordingly.
Signed-off-by: Antoine Tenart
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4ece30f15777..b63f3683d485 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1251,7 +1251,7
Use the appropriate SPDX license identifier and drop the license text.
This patch is only cosmetic.
Signed-off-by: Antoine Tenart
---
drivers/phy/marvell/phy-berlin-sata.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/phy/marvell/phy-berlin-sata.c
b/drivers
Use the appropriate SPDX license identifier and drop the license text.
This patch is only cosmetic.
Signed-off-by: Antoine Tenart
---
drivers/phy/marvell/phy-berlin-sata.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/phy/marvell/phy-berlin-sata.c
b/drivers
Use the appropriate SPDX license identifier and drop the license text.
This patch is only cosmetic.
Signed-off-by: Antoine Tenart
---
drivers/phy/marvell/phy-berlin-usb.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/phy/marvell/phy-berlin-usb.c
b/drivers/phy
Use the appropriate SPDX license identifier and drop the license text.
This patch is only cosmetic.
Signed-off-by: Antoine Tenart
---
drivers/phy/marvell/phy-berlin-usb.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/phy/marvell/phy-berlin-usb.c
b/drivers/phy
Use the appropriate SPDX license identifier and drop the license text.
This patch is only cosmetic.
Signed-off-by: Antoine Tenart
---
drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/phy/marvell/phy-mvebu-cp110-comphy.c
Use the appropriate SPDX license identifier and drop the license text.
This patch is only cosmetic.
Signed-off-by: Antoine Tenart
---
drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/phy/marvell/phy-mvebu-cp110-comphy.c
rvell.com>
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
Hi Herbert,
This patch fixes/improves the AEAD support in the SafeXcel driver. As
the AEAD support (which introduces the issue) was only merge a few days
ago, this patch is not flagged as being a fix.
Thanks!
Antoin
From: Ofer Heifetz
The token size was increased for AEAD support. Occasional authentication
fails arise since the result descriptor overflows. This is because the
token size and the engine minimal thresholds must be in sync.
Signed-off-by: Ofer Heifetz
Signed-off-by: Antoine Tenart
---
Hi
Hi Florian,
On Wed, May 23, 2018 at 11:40:50AM -0700, Florian Fainelli wrote:
>
> Antoine, can you please do CC the people who worked on that code before,
> arguably, send an update to MAINTAINERS file to create a specific
> section for PHYLINK.
My bad, sorry for that, I'll make sure to Cc
Hi Florian,
On Wed, May 23, 2018 at 11:40:50AM -0700, Florian Fainelli wrote:
>
> Antoine, can you please do CC the people who worked on that code before,
> arguably, send an update to MAINTAINERS file to create a specific
> section for PHYLINK.
My bad, sorry for that, I'll make sure to Cc
The i2c-bus property for sfp modules was made mandatory. Update the
documentation to keep it in sync with the driver's behaviour.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
Documentation/devicetree/bindings/net/sff,sfp.txt | 4 ++--
1 file changed, 2 insertions
The i2c-bus property for sfp modules was made mandatory. Update the
documentation to keep it in sync with the driver's behaviour.
Signed-off-by: Antoine Tenart
---
Documentation/devicetree/bindings/net/sff,sfp.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
tx_disable pin wired or available.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
Acked-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/net/phy/sfp.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index
This patch makes the i2c-bus property mandatory when using a device
tree. If the sfp i2c bus isn't described it's impossible to guess the
protocol to use for a given module, and the sfp module would then not
work in most cases.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.
tx_disable pin wired or available.
Signed-off-by: Antoine Tenart
Acked-by: Russell King
---
drivers/net/phy/sfp.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 4ab6e9a50bbe..a91d12209a81 100644
--- a/drivers/net/phy/sfp.c
+++ b
This patch makes the i2c-bus property mandatory when using a device
tree. If the sfp i2c bus isn't described it's impossible to guess the
protocol to use for a given module, and the sfp module would then not
work in most cases.
Signed-off-by: Antoine Tenart
---
drivers/net/phy/sfp.c | 28
patches to make the i2c-bus property mandatory for sfp modules.
Since the phylink series:
- s/-EOPNOTSUPP/-ENODEV/ in patch 1/2.
- I added the acked-by tag in patch 2/2.
Antoine Tenart (3):
net: phy: sfp: warn the user when no tx_disable pin is available
net: phy: sfp: make the i2c-bus dt
patches to make the i2c-bus property mandatory for sfp modules.
Since the phylink series:
- s/-EOPNOTSUPP/-ENODEV/ in patch 1/2.
- I added the acked-by tag in patch 2/2.
Antoine Tenart (3):
net: phy: sfp: warn the user when no tx_disable pin is available
net: phy: sfp: make the i2c-bus dt
Hi David,
On Mon, May 21, 2018 at 11:51:15AM -0400, David Miller wrote:
> From: Antoine Tenart <antoine.ten...@bootlin.com>
> Date: Thu, 17 May 2018 10:29:05 +0200
>
> > This series was part of the mvpp2 phylink one but as we reworked it to
> > use fixed-link on the
Hi David,
On Mon, May 21, 2018 at 11:51:15AM -0400, David Miller wrote:
> From: Antoine Tenart
> Date: Thu, 17 May 2018 10:29:05 +0200
>
> > This series was part of the mvpp2 phylink one but as we reworked it to
> > use fixed-link on the DB boards, the SFP commits weren
This patch on the Marvell PPv2 driver is only cosmetic. Two typos are
removed as well as other cosmetic fixes, such as extra new lines or tabs
vs spaces.
Suggested-by: Stefan Chulski <stef...@marvell.com>
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
drivers/net/ethe
This patch on the Marvell PPv2 driver is only cosmetic. Two typos are
removed as well as other cosmetic fixes, such as extra new lines or tabs
vs spaces.
Suggested-by: Stefan Chulski
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2.c | 12
1 file changed, 4
: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine
driver")
Reported-by: Ofer Heifetz <of...@marvell.com>
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
drivers/crypto/inside-secure/safexcel.c | 4 ++--
1 file changed, 2 insertions(+), 2 de
: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine
driver")
Reported-by: Ofer Heifetz
Signed-off-by: Antoine Tenart
---
drivers/crypto/inside-secure/safexcel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/inside-secure/saf
On Thu, May 17, 2018 at 03:04:06PM +0200, Andrew Lunn wrote:
>
> I was thinking about how it reads the bit rate from the EEPROM. From
> that it determines what mode the MAC could use, 1000-Base-X,
> 2500-Base-X, etc. Can you still configure this correctly via ethtool,
> if you don't have the
On Thu, May 17, 2018 at 03:04:06PM +0200, Andrew Lunn wrote:
>
> I was thinking about how it reads the bit rate from the EEPROM. From
> that it determines what mode the MAC could use, 1000-Base-X,
> 2500-Base-X, etc. Can you still configure this correctly via ethtool,
> if you don't have the
Hi Andrew,
On Thu, May 17, 2018 at 02:41:28PM +0200, Andrew Lunn wrote:
> On Thu, May 17, 2018 at 10:29:06AM +0200, Antoine Tenart wrote:
> > The SFF,SFP documentation is clear about making all the DT properties,
> > with the exception of the compatible, option
Hi Andrew,
On Thu, May 17, 2018 at 02:41:28PM +0200, Andrew Lunn wrote:
> On Thu, May 17, 2018 at 10:29:06AM +0200, Antoine Tenart wrote:
> > The SFF,SFP documentation is clear about making all the DT properties,
> > with the exception of the compatible, option
Hi Russell,
On Thu, May 17, 2018 at 10:18:56AM +0100, Russell King - ARM Linux wrote:
> On Thu, May 17, 2018 at 10:29:29AM +0200, Antoine Tenart wrote:
> > Since v2:
> > - Removed the SFP description from the DB boards, as their SFP cages
> > are wired properly.
Hi Russell,
On Thu, May 17, 2018 at 10:18:56AM +0100, Russell King - ARM Linux wrote:
> On Thu, May 17, 2018 at 10:29:29AM +0200, Antoine Tenart wrote:
> > Since v2:
> > - Removed the SFP description from the DB boards, as their SFP cages
> > are wired properly.
This patch adds the 1000Base-X PHY mode support in the Marvell PPv2
driver. 1000Base-X is quite close the SGMII and uses nearly the same
code path.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
drivers/net/ethernet/marvell/mvpp2.c | 72
This patch adds the 1000Base-X PHY mode support in the Marvell PPv2
driver. 1000Base-X is quite close the SGMII and uses nearly the same
code path.
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2.c | 72
1 file changed, 51 insertions(+), 21
Hi all,
Those 3 patches are small improvements to the Marvell PPv2 driver. The
series does not conflict with the one sent about phylink and
1000/2500baseX support, so the two series can live in parallel.
Thanks!
Antoine
Yan Markman (3):
net: mvpp2: avoid checking for free aggregated
Hi all,
Those 3 patches are small improvements to the Marvell PPv2 driver. The
series does not conflict with the one sent about phylink and
1000/2500baseX support, so the two series can live in parallel.
Thanks!
Antoine
Yan Markman (3):
net: mvpp2: avoid checking for free aggregated
From: Yan Markman <ymark...@marvell.com>
Avoid repeating the check for free aggregated descriptors when it
already failed at the beginning of the function.
Signed-off-by: Yan Markman <ymark...@marvell.com>
[Antoine: commit message]
Signed-off-by: Antoine Tenart <antoine.ten
From: Yan Markman <ymark...@marvell.com>
Prevent flood of RX error prints during heavy traffic with weak signal
in link by checking net_ratelimit() before using netdev_err().
Signed-off-by: Yan Markman <ymark...@marvell.com>
[Antoine: small rework, commit message]
Signed-off-by: An
From: Yan Markman
Avoid repeating the check for free aggregated descriptors when it
already failed at the beginning of the function.
Signed-off-by: Yan Markman
[Antoine: commit message]
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2.c | 7 +++
1 file changed, 3
From: Yan Markman
Prevent flood of RX error prints during heavy traffic with weak signal
in link by checking net_ratelimit() before using netdev_err().
Signed-off-by: Yan Markman
[Antoine: small rework, commit message]
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2.c
y: Yan Markman <ymark...@marvell.com>
[Antoine: commit message]
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
drivers/net/ethernet/marvell/mvpp2.c | 38 +---
1 file changed, 7 insertions(+), 31 deletions(-)
diff --git a/drivers/net/ethernet/
: commit message]
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/mvpp2.c | 38 +---
1 file changed, 7 insertions(+), 31 deletions(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2.c
b/drivers/net/ethernet/marvell/mvpp2.c
index 73b2f2d331c5..a9483da18e00 100644
From: Russell King <rmk+ker...@armlinux.org.uk>
This patch adds the SFP cage description in the Marvell Armada 8040
mcbin, for both 10G interfaces.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
[Antoine: small reworks, commit message]
Signed-off-by: Antoine Tenart
From: Russell King
This patch adds the SFP cage description in the Marvell Armada 8040
mcbin, for both 10G interfaces.
Signed-off-by: Russell King
[Antoine: small reworks, commit message]
Signed-off-by: Antoine Tenart
---
.../boot/dts/marvell/armada-8040-mcbin.dts| 38
in a separate series.
Thanks!
Antoine
Since last time:
- s/-EOPNOTSUPP/-ENODEV/ in patch 1/2.
- I added the acked-by tag in patch 2/2.
Antoine Tenart (2):
net: phy: sfp: make the i2c-bus property really optional
net: phy: sfp: warn the user when no tx_disable pin is available
drivers/net
tx_disable pin wired or available.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
Acked-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/net/phy/sfp.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index
in a separate series.
Thanks!
Antoine
Since last time:
- s/-EOPNOTSUPP/-ENODEV/ in patch 1/2.
- I added the acked-by tag in patch 2/2.
Antoine Tenart (2):
net: phy: sfp: make the i2c-bus property really optional
net: phy: sfp: warn the user when no tx_disable pin is available
drivers/net
tx_disable pin wired or available.
Signed-off-by: Antoine Tenart
Acked-by: Russell King
---
drivers/net/phy/sfp.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 0fd2a92a6f7b..4e62769b3e00 100644
--- a/drivers/net/phy/sfp.c
+++ b
This patch enables the fourth network interface on the Marvell
Macchiatobin. It is configured in the 2500Base-X PHY mode. The SFP cage
is also described.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
.../boot/dts/marvell/armada-8040-mcbin.dts| 32 +++
This patch enables the fourth network interface on the Marvell
Macchiatobin. It is configured in the 2500Base-X PHY mode. The SFP cage
is also described.
Signed-off-by: Antoine Tenart
---
.../boot/dts/marvell/armada-8040-mcbin.dts| 32 +++
1 file changed, 32 insertions
, and the changes shouldn't
impact its use.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
---
drivers/net/ethernet/marvell/Kconfig | 1 +
drivers/net/ethernet/marvell/mvpp2.c | 846 ---
2 files changed, 509 insertions(+), 338 deletions(-)
diff --git a/drive
, and the changes shouldn't
impact its use.
Signed-off-by: Antoine Tenart
---
drivers/net/ethernet/marvell/Kconfig | 1 +
drivers/net/ethernet/marvell/mvpp2.c | 846 ---
2 files changed, 509 insertions(+), 338 deletions(-)
diff --git a/drivers/net/ethernet/marvell/Kconfig
b
This patch adds one more generic PHY mode to the phy_mode enum, to allow
configuring generic PHYs to the 2.5G SGMII mode by using the set_mode
callback.
Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com>
Acked-by: Kishon Vijay Abraham I <kis...@ti.com>
---
include/linux/p
This patch adds one more generic PHY mode to the phy_mode enum, to allow
configuring generic PHYs to the 2.5G SGMII mode by using the set_mode
callback.
Signed-off-by: Antoine Tenart
Acked-by: Kishon Vijay Abraham I
---
include/linux/phy/phy.h | 1 +
1 file changed, 1 insertion(+)
diff --git
201 - 300 of 2269 matches
Mail list logo