aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZheng Zengkai <zhengzengkai@huawei.com>2023-08-11 19:07:02 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-13 12:30:39 +0100
commitcf9b107f5fdddcd73b77169c30949d5e12e56eae (patch)
treec0679dfd58a795b37808664c10c290397503f897 /tools/perf/scripts/python/exported-sql-viewer.py
parentnet: tc35815: Use pci_dev_id() to simplify the code (diff)
downloadwireguard-linux-cf9b107f5fdddcd73b77169c30949d5e12e56eae.tar.xz
wireguard-linux-cf9b107f5fdddcd73b77169c30949d5e12e56eae.zip
net: ngbe: use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a pci device. We don't need to compose it manually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions