Home
last modified time | relevance | path

Searched hist:"7 f3ee8e0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_av.c7f3ee8e0 Mon Jun 11 21:56:50 CDT 2018 Jason Gunthorpe <jgg@mellanox.com> IB/rxe: Do not hide uABI stuff in memcpy

struct rxe_global_route and struct ib_global_route are not the same thing
and should not be memcpy'd over each other, do a member by member copy
instead. This allows the layout of the in-kernel struct ib_global_route to
be changed without breaking rxe.

Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
7f3ee8e0 Mon Jun 11 21:56:50 CDT 2018 Jason Gunthorpe <jgg@mellanox.com> IB/rxe: Do not hide uABI stuff in memcpy

struct rxe_global_route and struct ib_global_route are not the same thing
and should not be memcpy'd over each other, do a member by member copy
instead. This allows the layout of the in-kernel struct ib_global_route to
be changed without breaking rxe.

Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>