Home
last modified time | relevance | path

Searched refs:roce_ipsec (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dipsec_fs_roce.c342 struct mlx5_ipsec_fs *roce_ipsec; in mlx5_ipsec_fs_roce_init() local
351 roce_ipsec = kzalloc(sizeof(*roce_ipsec), GFP_KERNEL); in mlx5_ipsec_fs_roce_init()
352 if (!roce_ipsec) in mlx5_ipsec_fs_roce_init()
355 roce_ipsec->ipv4_rx.ns_rdma = ns; in mlx5_ipsec_fs_roce_init()
356 roce_ipsec->ipv6_rx.ns_rdma = ns; in mlx5_ipsec_fs_roce_init()
364 roce_ipsec->tx.ns = ns; in mlx5_ipsec_fs_roce_init()
366 return roce_ipsec; in mlx5_ipsec_fs_roce_init()
369 kfree(roce_ipsec); in mlx5_ipsec_fs_roce_init()