linux/drivers/net/ethernet/hisilicon/hns
Daode Huang 20b3385aaa net: hns: fix to intimate the link-status change by adding LF/RF method
In current scenario, when the interface is disabled we reset the XGMAC
RX/TX functionality. This operation does not affects the PHY layer/SFP
and which appears UP to the remote end(this behaviour is unlike GMAC).
The result is remote end keeps on sending the packets which gets partly
processed by XMAC and dropped. Since these are partly processed these
appears as errored packets in the packet counter statistics.

This patch fixes this behaviour and adds local-fault and remote-fault
functionality which can be used to intimate the remote peer whenever
the state of the interface changes. This patch also removes the
existing hns_dsaf_xge_core_srst_by_port function which was being used
to reset the RX/TX functionality at XGE Core.

Reported-by: Jun He <hjat2005@huawei.com>
Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-10 11:45:37 -05:00
..
hnae.c net: hns: delete redundancy ring enable operations 2016-06-21 04:51:55 -04:00
hnae.h net: hns: add media-type property for hns 2016-07-01 16:56:52 -04:00
hns_ae_adapt.c net: hns: delete redundant macro definition 2016-11-10 11:45:37 -05:00
hns_dsaf_gmac.c net: hns: modify ethtool statistics value error 2016-11-10 11:45:37 -05:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: fix for promisc mode in HNS driver 2016-11-10 11:45:37 -05:00
hns_dsaf_mac.h net: hns: delete redundant macro definition 2016-11-10 11:45:37 -05:00
hns_dsaf_main.c net: hns: fix for promisc mode in HNS driver 2016-11-10 11:45:37 -05:00
hns_dsaf_main.h net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_dsaf_misc.c net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_dsaf_misc.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_ppe.c net: hns: dereference ppe_cb->ppe_common_cb if it is non-null 2016-08-26 11:44:56 -07:00
hns_dsaf_ppe.h net: hns: separate debug dsaf device from service dsaf device 2016-04-26 01:09:17 -04:00
hns_dsaf_rcb.c net: hns: bug fix about setting coalsecs-usecs to 0 2016-10-03 11:40:57 -04:00
hns_dsaf_rcb.h net: hns: change the default coalesce usecs 2016-06-21 04:51:56 -04:00
hns_dsaf_reg.h net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_dsaf_xgmac.c net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_dsaf_xgmac.h net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_enet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-10-30 12:42:58 -04:00
hns_enet.h net: ethernet: hisilicon: hns: use phydev from struct net_device 2016-09-22 02:11:40 -04:00
hns_ethtool.c net: hns: bug fix about restart auto-negotiation 2016-11-10 11:45:37 -05:00
Makefile