[PATCH net-next 0/9] fixes for configuration lost problems

From: Peng Li
Date: Thu Mar 08 2018 - 21:05:56 EST


This patchset refactors some functions and some bugs in order
to fix the configuration loss problem when resetting and
setting channel number.

Yunsheng Lin (9):
net: hns3: refactor the hclge_get/set_rss function
net: hns3: refactor the hclge_get/set_rss_tuple function
net: hns3: fix for RSS configuration loss problem during reset
net: hns3: fix for pause configuration lost during reset
net: hns3: fix for use-after-free when setting ring parameter
net: hns3: refactor the get/put_vector function
net: hns3: fix for coalesce configuration lost during reset
net: hns3: refactor the coalesce related struct
net: hns3: fix for coal configuation lost when setting the channel

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 249 +++++++++++++++------
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 10 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 26 ++-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 2 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 235 +++++++++----------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 16 ++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 12 +-
8 files changed, 351 insertions(+), 202 deletions(-)

--
2.9.3