summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-09-05 12:54:18 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-12 15:48:08 -0600
commit89c5691cdd95ab39f43bd102ec3f0ff39716ae85 (patch)
tree1eef3d1054a8697ddc6bae7360906e229e9acf34 /tools/perf/scripts/python/bin
parentf89b7dfa33537bba9ee082a17a55242fc727e9f4 (diff)
downloadlinux-89c5691cdd95ab39f43bd102ec3f0ff39716ae85.tar.gz
linux-89c5691cdd95ab39f43bd102ec3f0ff39716ae85.zip
RDMA/core: Let protocol specific function typecast sockaddr structure
Current code typecasts destination address using extra variable but uses source address as is. Even though the compiler optimizes such code well, just let each protocol specific function typecast for src and dest both and have symmetric code. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions