net: hns3: PF add support for pushing link status to VFs
driver inclusion category: feature bugzilla: NA CVE: NA ---------------------------- Previously, VF updates its link status every second by send query command to PF in periodic service task. If link stats of PF is changed, VF may need at most one second to update its link status. To reduce delay of link status between PF and VFs, PF actively push its link status to VFs when its link status is updated. And to let VF know PF supports this new feature, the link status changed mailbox command Signed-off-by:Guangbin Huang <huangguangbin2@huawei.com> Reviewed-by:
li yongxin <liyongxin1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Cheng Jian <cj.chengjian@huawei.com>
Showing
- drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h 3 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hclge_mbx.h
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 35 additions, 1 deletiondrivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h 1 addition, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 6 additions, 8 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
Please register or sign in to comment