mbox series

[net,0/2] amd-xgbe: PFC and KR-Training fixes

Message ID 20230111172852.1875384-1-Raju.Rangoju@amd.com (mailing list archive)
Headers show
Series amd-xgbe: PFC and KR-Training fixes | expand

Message

Raju Rangoju Jan. 11, 2023, 5:28 p.m. UTC
This patch series fixes the issues in kr-training and pfc

Patches:

0001 - There is difference in the TX Flow Control registers (TFCR)
between the revisions of the hardware. Update the driver to use the
TFCR based on the reported version of the hardware.

0002 - AN restart triggered during KR training not only aborts the KR
training process but also move the HW to unstable state. Add the
necessary changes to fix kr-taining.

Raju Rangoju (2):
  amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
  amd-xgbe: Delay AN timeout during KR training

 drivers/net/ethernet/amd/xgbe/xgbe-dev.c  | 23 ++++++++++++++--------
 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 24 +++++++++++++++++++++++
 drivers/net/ethernet/amd/xgbe/xgbe.h      |  2 ++
 3 files changed, 41 insertions(+), 8 deletions(-)

Comments

Jakub Kicinski Jan. 12, 2023, 5:42 a.m. UTC | #1
On Wed, 11 Jan 2023 22:58:50 +0530 Raju Rangoju wrote:
> 0001 - There is difference in the TX Flow Control registers (TFCR)
> between the revisions of the hardware. Update the driver to use the
> TFCR based on the reported version of the hardware.
> 
> 0002 - AN restart triggered during KR training not only aborts the KR
> training process but also move the HW to unstable state. Add the
> necessary changes to fix kr-taining.

Please err on the side of CCing people. Here the patches under Fixes
have Tom's sign off which makes our automation complain that he's not
CCed. No tag from him either.
Shyam Sundar S K Jan. 12, 2023, 5:49 a.m. UTC | #2
On 1/12/2023 11:12 AM, Jakub Kicinski wrote:
> On Wed, 11 Jan 2023 22:58:50 +0530 Raju Rangoju wrote:
>> 0001 - There is difference in the TX Flow Control registers (TFCR)
>> between the revisions of the hardware. Update the driver to use the
>> TFCR based on the reported version of the hardware.
>>
>> 0002 - AN restart triggered during KR training not only aborts the KR
>> training process but also move the HW to unstable state. Add the
>> necessary changes to fix kr-taining.
> 
> Please err on the side of CCing people. Here the patches under Fixes
> have Tom's sign off which makes our automation complain that he's not
> CCed. No tag from him either.
> 

I have put an Ack tag to the patches in the series, being the additional
maintainer for this driver. As Tom is busy working on other areas, I
shall be a single maintainer for this driver going forward.

I can submit a patch for the change to the MAINTAINERS file.

But would you mind pulling this series for now? Or would you like to see
the MAINTAINERS file getting updated first?

Thanks,
Shyam
Jakub Kicinski Jan. 12, 2023, 10:36 p.m. UTC | #3
On Thu, 12 Jan 2023 11:19:34 +0530 Shyam Sundar S K wrote:
> I have put an Ack tag to the patches in the series, being the additional
> maintainer for this driver. As Tom is busy working on other areas, I
> shall be a single maintainer for this driver going forward.
> 
> I can submit a patch for the change to the MAINTAINERS file.

For Fixes of code that someone authored it'd be better if the person 
is CCed, as long as their email address still works. For net-next
material, if you're posting as a co-maintainer not CCing other
maintainers is no big deal.

> But would you mind pulling this series for now? Or would you like to see
> the MAINTAINERS file getting updated first?

Yes, no need to repost this one. Just something to keep in mind for 
the future.
Shyam Sundar S K Jan. 13, 2023, 4:32 a.m. UTC | #4
On 1/13/2023 4:06 AM, Jakub Kicinski wrote:
> On Thu, 12 Jan 2023 11:19:34 +0530 Shyam Sundar S K wrote:
>> I have put an Ack tag to the patches in the series, being the additional
>> maintainer for this driver. As Tom is busy working on other areas, I
>> shall be a single maintainer for this driver going forward.
>>
>> I can submit a patch for the change to the MAINTAINERS file.
> 
> For Fixes of code that someone authored it'd be better if the person 
> is CCed, as long as their email address still works. For net-next
> material, if you're posting as a co-maintainer not CCing other
> maintainers is no big deal.

Noted.

> 
>> But would you mind pulling this series for now? Or would you like to see
>> the MAINTAINERS file getting updated first?
> 
> Yes, no need to repost this one. Just something to keep in mind for 
> the future.
> 

Thanks! Will take care of thie is future.

Thanks,
Shyam
Jakub Kicinski Jan. 13, 2023, 7:39 p.m. UTC | #5
On Wed, 11 Jan 2023 22:58:50 +0530 Raju Rangoju wrote:
> This patch series fixes the issues in kr-training and pfc
> 
> Patches:
> 
> 0001 - There is difference in the TX Flow Control registers (TFCR)
> between the revisions of the hardware. Update the driver to use the
> TFCR based on the reported version of the hardware.
> 
> 0002 - AN restart triggered during KR training not only aborts the KR
> training process but also move the HW to unstable state. Add the
> necessary changes to fix kr-taining.

Applied, thanks!