summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2022-02-02 03:03:30 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-02 17:43:59 +0300
commit5c957c7ca78cce5e4b96866722b0115bd758d945 (patch)
tree00d8b050ab3a940a4de8c8af31b15403ddfe068c /tools/perf/scripts/python/export-to-sqlite.py
parent5950c7c0a68c915b336c70f79388626e2d576ab7 (diff)
downloadlinux-5c957c7ca78cce5e4b96866722b0115bd758d945.tar.xz
net: dsa: qca8k: add support for mib autocast in Ethernet packet
The switch can autocast MIB counter using Ethernet packet. Add support for this and provide a handler for the tagger. The switch will send packet with MIB counter for each port, the switch will use completion API to wait for the correct packet to be received and will complete the task only when each packet is received. Although the handler will drop all the other packet, we still have to consume each MIB packet to complete the request. This is done to prevent mixed data with concurrent ethtool request. connect_tag_protocol() is used to add the handler to the tag_qca tagger, master_state_change() use the MIB lock to make sure no MIB Ethernet is in progress. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions