ACK: [PATCH 0/2][Cosmic][SRU Bionic] hns: fix hang during speed or duplex change

Kleber Souza kleber.souza at canonical.com
Thu Sep 27 15:31:26 UTC 2018


On 09/13/18 20:47, dann frazier wrote:
> Clean cherry-picks.
> 
> BugLink: https://bugs.launchpad.net/bugs/1792209
> 
> Peng Li (2):
>   net: hns: add the code for cleaning pkt in chip
>   net: hns: add netif_carrier_off before change speed and duplex
> 
>  drivers/net/ethernet/hisilicon/hns/hnae.h     |  2 +
>  .../net/ethernet/hisilicon/hns/hns_ae_adapt.c | 67 ++++++++++++++++++-
>  .../ethernet/hisilicon/hns/hns_dsaf_gmac.c    | 36 ++++++++++
>  .../net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 44 ++++++++++++
>  .../net/ethernet/hisilicon/hns/hns_dsaf_mac.h |  8 +++
>  .../ethernet/hisilicon/hns/hns_dsaf_main.c    | 29 ++++++++
>  .../ethernet/hisilicon/hns/hns_dsaf_main.h    |  3 +
>  .../net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 23 +++++++
>  .../net/ethernet/hisilicon/hns/hns_dsaf_ppe.h |  1 +
>  .../net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 23 +++++++
>  .../net/ethernet/hisilicon/hns/hns_dsaf_rcb.h |  1 +
>  .../net/ethernet/hisilicon/hns/hns_dsaf_reg.h |  1 +
>  drivers/net/ethernet/hisilicon/hns/hns_enet.c | 21 +++++-
>  .../net/ethernet/hisilicon/hns/hns_ethtool.c  |  2 +
>  14 files changed, 257 insertions(+), 4 deletions(-)
> 

Clean cherry-picks, tested to fix the issue and affecting only the
platform driver.

Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>




More information about the kernel-team mailing list