diff options
| author | Parav Pandit <[email protected]> | 2018-08-28 13:51:37 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-08-30 16:31:50 -0400 |
| commit | 3db2bceb29fd9a2f31d5df573f337dbba577f8e9 (patch) | |
| tree | e305fa488aec703a43f4c40b22b8451312f446c7 /tools | |
| parent | 8b7b59d030cc0d34b83b0c556bb6365c9ae6ba77 (diff) | |
IB/rxe: Simplify rxe_find_route() to avoid GID query for netdev
rxe_prepare() is called on an skb which has ndev already initialized by
rxe_init_packet().
Therefore avoid querying the GID attribute again and use the available
netdevice from the skb->dev.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Tested-by: Yuval Shaia <[email protected]>
Signed-off-by: Zhu Yanjun <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions