diff options
author | 2024-11-01 21:31:32 +0800 | |
---|---|---|
committer | 2024-11-03 15:31:23 -0800 | |
commit | 2558fe30ae8bfc178284e29e9adb2ecac69db139 (patch) | |
tree | 14f808fb04f4ae1c8810b2afd11a75134127a78f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: stmmac: Refactor FPE functions to generic version (diff) | |
download | wireguard-linux-2558fe30ae8bfc178284e29e9adb2ecac69db139.tar.xz wireguard-linux-2558fe30ae8bfc178284e29e9adb2ecac69db139.zip |
net: stmmac: Get the TC number of net_device by netdev_get_num_tc()
netdev_get_num_tc() is the right method, we should not access
net_device.num_tc directly.
Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/6298463f4655a76faf94e4273a4205c13ca17c77.1730449003.git.0x1207@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions