summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMD Danish Anwar <danishanwar@ti.com>2025-01-10 13:58:51 +0530
committerPaolo Abeni <pabeni@redhat.com>2025-01-14 12:17:27 +0100
commit9c10dd8eed74de9e8adeb820939f8745cd566d4a (patch)
tree34e681a6ba607a182929e7d674d9b9a5cbba2acc /tools/perf/scripts/python/export-to-sqlite.py
parent04508d20b017326e116c6e8ef953839507c73b6d (diff)
net: hsr: Create and export hsr_get_port_ndev()
Create an API to get the net_device to the slave port of HSR device. The API will take hsr net_device and enum hsr_port_type for which we want the net_device as arguments. This API can be used by client drivers who support HSR and want to get the net_devcie of slave ports from the hsr device. Export this API for the same. This API needs the enum hsr_port_type to be accessible by the drivers using hsr. Move the enum hsr_port_type from net/hsr/hsr_main.h to include/linux/if_hsr.h for the same. Signed-off-by: MD Danish Anwar <danishanwar@ti.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions