aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorHuazhong Tan <[email protected]>2019-01-18 16:13:03 +0800
committerDavid S. Miller <[email protected]>2019-01-18 15:10:21 -0800
commit2c9dd668914bb9813b83bc62c28ebfe53e205525 (patch)
tree543b06747aea1ba62085ae9913c686ae35dbf130 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent51a5365c2b21da5b19b4905a1214cd20c32fbf6c (diff)
net: hns3: modify enet reinitialization interface
hns3_reset_notify_init_enet and hns3_reset_notify_uninit_enet are the reinitialization interface that will be called when the device reset, the number of TC changed, or the queue length changed. So these two function should call hns3_get_ring_config() and hns3_put_ring_config() to allocate and free memory for the ring with the correct number. Also this patch fixes a double free problem when hns3_reset_notify_uninit_enet calling hns3_nic_dealloc_vector_data Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions