@@ -3590,8 +3590,8 @@ int mlx5_fs_remove_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn)
3590
3590
}
3591
3591
EXPORT_SYMBOL (mlx5_fs_remove_rx_underlay_qpn );
3592
3592
3593
- static struct mlx5_flow_root_namespace
3594
- * get_root_namespace (struct mlx5_core_dev * dev , enum mlx5_flow_namespace_type ns_type )
3593
+ struct mlx5_flow_root_namespace *
3594
+ mlx5_get_root_namespace (struct mlx5_core_dev * dev , enum mlx5_flow_namespace_type ns_type )
3595
3595
{
3596
3596
struct mlx5_flow_namespace * ns ;
3597
3597
@@ -3614,7 +3614,7 @@ struct mlx5_modify_hdr *mlx5_modify_header_alloc(struct mlx5_core_dev *dev,
3614
3614
struct mlx5_modify_hdr * modify_hdr ;
3615
3615
int err ;
3616
3616
3617
- root = get_root_namespace (dev , ns_type );
3617
+ root = mlx5_get_root_namespace (dev , ns_type );
3618
3618
if (!root )
3619
3619
return ERR_PTR (- EOPNOTSUPP );
3620
3620
@@ -3639,7 +3639,7 @@ void mlx5_modify_header_dealloc(struct mlx5_core_dev *dev,
3639
3639
{
3640
3640
struct mlx5_flow_root_namespace * root ;
3641
3641
3642
- root = get_root_namespace (dev , modify_hdr -> ns_type );
3642
+ root = mlx5_get_root_namespace (dev , modify_hdr -> ns_type );
3643
3643
if (WARN_ON (!root ))
3644
3644
return ;
3645
3645
root -> cmds -> modify_header_dealloc (root , modify_hdr );
@@ -3655,7 +3655,7 @@ struct mlx5_pkt_reformat *mlx5_packet_reformat_alloc(struct mlx5_core_dev *dev,
3655
3655
struct mlx5_flow_root_namespace * root ;
3656
3656
int err ;
3657
3657
3658
- root = get_root_namespace (dev , ns_type );
3658
+ root = mlx5_get_root_namespace (dev , ns_type );
3659
3659
if (!root )
3660
3660
return ERR_PTR (- EOPNOTSUPP );
3661
3661
@@ -3681,7 +3681,7 @@ void mlx5_packet_reformat_dealloc(struct mlx5_core_dev *dev,
3681
3681
{
3682
3682
struct mlx5_flow_root_namespace * root ;
3683
3683
3684
- root = get_root_namespace (dev , pkt_reformat -> ns_type );
3684
+ root = mlx5_get_root_namespace (dev , pkt_reformat -> ns_type );
3685
3685
if (WARN_ON (!root ))
3686
3686
return ;
3687
3687
root -> cmds -> packet_reformat_dealloc (root , pkt_reformat );
@@ -3703,7 +3703,7 @@ mlx5_create_match_definer(struct mlx5_core_dev *dev,
3703
3703
struct mlx5_flow_definer * definer ;
3704
3704
int id ;
3705
3705
3706
- root = get_root_namespace (dev , ns_type );
3706
+ root = mlx5_get_root_namespace (dev , ns_type );
3707
3707
if (!root )
3708
3708
return ERR_PTR (- EOPNOTSUPP );
3709
3709
@@ -3727,7 +3727,7 @@ void mlx5_destroy_match_definer(struct mlx5_core_dev *dev,
3727
3727
{
3728
3728
struct mlx5_flow_root_namespace * root ;
3729
3729
3730
- root = get_root_namespace (dev , definer -> ns_type );
3730
+ root = mlx5_get_root_namespace (dev , definer -> ns_type );
3731
3731
if (WARN_ON (!root ))
3732
3732
return ;
3733
3733
0 commit comments