Commit 93f8df5
RDMA/hns: Replace get_udp_sport with rdma_get_udp_sport
Several drivers have the same function xxx_get_udp_sport. So this
function is moved to ib_verbs.h.
Link: https://lore.kernel.org/r/20220106180359.2915060-3-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>1 parent 18451db commit 93f8df5
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4485 | 4485 | | |
4486 | 4486 | | |
4487 | 4487 | | |
4488 | | - | |
4489 | | - | |
4490 | | - | |
4491 | | - | |
4492 | | - | |
4493 | | - | |
4494 | | - | |
4495 | | - | |
4496 | 4488 | | |
4497 | 4489 | | |
4498 | 4490 | | |
| |||
4709 | 4701 | | |
4710 | 4702 | | |
4711 | 4703 | | |
4712 | | - | |
4713 | | - | |
| 4704 | + | |
| 4705 | + | |
| 4706 | + | |
4714 | 4707 | | |
4715 | 4708 | | |
4716 | 4709 | | |
| |||
0 commit comments