aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2019-08-19 14:17:03 +0300
committerJason Gunthorpe <[email protected]>2019-08-21 14:08:42 -0300
commitf20bef6a951b6ef619655ed846113f706d0824d7 (patch)
tree5a00fa66ad14cb5d3527f20ce91f7e87963ea2f8 /net/switchdev/switchdev.c
parent22d79c9a912c9d56258a0adf8a9c8cbfb6f2fd1a (diff)
RDMA/odp: Make the three ways to create a umem_odp clear
The three paths to build the umem_odps are kind of muddled, they are: - As a normal ib_mr umem - As a child in an implicit ODP umem tree - As the root of an implicit ODP umem tree Only the first two are actually umem's, the last is an abuse. The implicit case can only be triggered by explicit driver request, it should never be co-mingled with the normal case. While we are here, make sensible function names and add some comments to make this clearer. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions