Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dipsec_fs_roce.c282 struct mlx5_flow_namespace *roce_ns, *nic_ns; in ipsec_fs_roce_tx_mpv_create_ft() local
292 nic_ns = mlx5_get_flow_namespace(peer_priv->mdev, MLX5_FLOW_NAMESPACE_EGRESS_IPSEC); in ipsec_fs_roce_tx_mpv_create_ft()
293 if (!nic_ns) in ipsec_fs_roce_tx_mpv_create_ft()
306 ft = mlx5_create_flow_table(nic_ns, &ft_attr); in ipsec_fs_roce_tx_mpv_create_ft()
440 struct mlx5_flow_namespace *roce_ns, *nic_ns; in ipsec_fs_roce_rx_mpv_create() local
471 nic_ns = mlx5_get_flow_namespace(peer_priv->mdev, MLX5_FLOW_NAMESPACE_KERNEL); in ipsec_fs_roce_rx_mpv_create()
472 if (!nic_ns) { in ipsec_fs_roce_rx_mpv_create()
498 ft = mlx5_create_flow_table(nic_ns, &ft_attr); in ipsec_fs_roce_rx_mpv_create()
H A Dsd.c280 struct mlx5_flow_namespace *nic_ns; in sd_cmd_set_primary() local
284 nic_ns = mlx5_get_flow_namespace(primary, MLX5_FLOW_NAMESPACE_EGRESS); in sd_cmd_set_primary()
285 if (!nic_ns) in sd_cmd_set_primary()
288 ft = mlx5_create_flow_table(nic_ns, &ft_attr); in sd_cmd_set_primary()