Re: [PATCH net-next] net: phy: mscc: fix initialization of the MACsec protocol mode

2020-05-22 Thread Antoine Tenart
Quoting David Miller (2020-05-22 02:31:05) > From: Antoine Tenart > Date: Wed, 20 May 2020 12:03:55 +0200 > > > What's the best way to handle this? I can provide all the patches. > > Resubmit this against 'net' please, then I'll deal with the fallout > when I merge net into net-next. OK, I'll r

Re: [PATCH net-next] net: phy: mscc: fix initialization of the MACsec protocol mode

2020-05-21 Thread David Miller
From: Antoine Tenart Date: Wed, 20 May 2020 12:03:55 +0200 > What's the best way to handle this? I can provide all the patches. Resubmit this against 'net' please, then I'll deal with the fallout when I merge net into net-next.

[PATCH net-next] net: phy: mscc: fix initialization of the MACsec protocol mode

2020-05-20 Thread Antoine Tenart
At the very end of the MACsec block initialization in the MSCC PHY driver, the MACsec "protocol mode" is set. This setting should be set based on the PHY id within the package, as the bank used to access the register used depends on this. This was not done correctly, and only the first bank was use