diff options
author | Parav Pandit <parav@mellanox.com> | 2019-05-02 10:48:06 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-03 11:10:03 -0300 |
commit | 5102eca9039ba1df6d2e8756b0c030676021f56b (patch) | |
tree | 6f85606e632f682eba10f43d13160a1c36601f09 /lib/prime_numbers.c | |
parent | dab2175800ef0b45d5e70a7337bd6cb311292ebe (diff) | |
download | linux-5102eca9039ba1df6d2e8756b0c030676021f56b.tar.bz2 |
net/smc: Use rdma_read_gid_l2_fields to L2 fields
Use core provided API to fill the source MAC address and use
rdma_read_gid_attr_ndev_rcu() to get stable netdev.
This is preparation patch to allow gid attribute to become NULL when
associated net device is removed.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/prime_numbers.c')
0 files changed, 0 insertions, 0 deletions