diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2019-04-04 16:17:57 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-04 10:20:39 -0700 |
| commit | 6ff7ed8049ebf932643eee8680bb1d75691fa801 (patch) | |
| tree | 537d9923b01447d5a08f50eab2c520b3f11b244a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | net: hns3: check resetting status in hns3_get_stats() (diff) | |
| download | linux-6ff7ed8049ebf932643eee8680bb1d75691fa801.tar.gz linux-6ff7ed8049ebf932643eee8680bb1d75691fa801.zip | |
net: hns3: prevent change MTU when resetting
When resetting, the changing of MTU is not allowed, so this patch
adds checking reset status in hns3_nic_change_mtu() to do that.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
