summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/netdev-times-report
blob: 8f759291da86c07435a62e7fa044f8c75f9c2749 (plain)
1
2
3
4
5
#!/bin/bash
# description: display a process of packet and processing time
# args: [tx] [rx] [dev=] [debug]

perf script -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@
> parentcf626c3b252b2c9d131be0dd66096ec3bf729e54 (diff)
net: adaptec: starfire: add checks for dma mapping errors
init_ring(), refill_rx_ring() and start_tx() don't check if mapping dma memory succeed. The patch adds the checks and failure handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat