aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorKamal Heib <[email protected]>2018-07-05 00:52:47 +0300
committerJason Gunthorpe <[email protected]>2018-07-09 12:02:42 -0600
commit299c36b1efe7a34ff255788592d835e913163a4d (patch)
treecadb22942a8dcb64e8d0533d945523766b3b1c63 /tools/perf/scripts/python/net_dropmonitor.py
parent87a37ce9e400e40daee537ff95343e3c94743c6d (diff)
RDMA/ipoib: Use min_t() macro instead of min()
Use min_t() macro to avoid the casting when using min() macro, also fix the type of "length" and "wc->byte_len" to be "unsigned int" and "u32" which is the right type for each one of them. Signed-off-by: Kamal Heib <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions