summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>2024-02-02 11:41:22 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-02-06 13:14:56 +0300
commit2b993bfdb47b3aaafd8fe9cd5038b5e297b18ee1 (patch)
treeb01c945566f2b2e2768d7fafe89f427bb107a4ce /tools/perf/scripts/python
parent3c974cdce8ddb192e19044f6cf6ddb54543fbc9b (diff)
downloadlinux-2b993bfdb47b3aaafd8fe9cd5038b5e297b18ee1.tar.xz
net: ravb: Let IP-specific receive function to interrogate descriptors
ravb_poll() initial code used to interrogate the first descriptor of the RX queue in case gPTP is false to determine if ravb_rx() should be called. This is done for non-gPTP IPs. For gPTP IPs the driver PTP-specific information was used to determine if receive function should be called. As every IP has its own receive function that interrogates the RX descriptors list in the same way the ravb_poll() was doing there is no need to double check this in ravb_poll(). Removing the code from ravb_poll() leads to a cleaner code. Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions