aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2019-09-11 10:40:34 +0800
committerDavid S. Miller <davem@davemloft.net>2019-09-11 09:08:45 +0100
commit3a5a5f06d4d2ddb257cb71e9c52106f50abad8fc (patch)
tree989eaf24860e0186fdfa70e2a20d118738734866 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: hns3: add ethtool_ops.set_channels support for HNS3 VF driver (diff)
downloadlinux-dev-3a5a5f06d4d2ddb257cb71e9c52106f50abad8fc.tar.xz
linux-dev-3a5a5f06d4d2ddb257cb71e9c52106f50abad8fc.zip
net: hns3: revert to old channel when setting new channel num fail
After setting new channel num, it needs free old ring memory and allocate new ring memory. If there is no enough memory and allocate new ring memory fail, the ring may initialize fail. To make sure the network interface can work normally, driver should revert the channel to the old configuration. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions