@@ -3899,7 +3899,7 @@ static int mlx5e_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
3899
3899
}
3900
3900
3901
3901
#ifdef CONFIG_MLX5_ESWITCH
3902
- static int mlx5e_set_vf_mac (struct net_device * dev , int vf , u8 * mac )
3902
+ int mlx5e_set_vf_mac (struct net_device * dev , int vf , u8 * mac )
3903
3903
{
3904
3904
struct mlx5e_priv * priv = netdev_priv (dev );
3905
3905
struct mlx5_core_dev * mdev = priv -> mdev ;
@@ -3936,8 +3936,8 @@ static int mlx5e_set_vf_trust(struct net_device *dev, int vf, bool setting)
3936
3936
return mlx5_eswitch_set_vport_trust (mdev -> priv .eswitch , vf + 1 , setting );
3937
3937
}
3938
3938
3939
- static int mlx5e_set_vf_rate (struct net_device * dev , int vf , int min_tx_rate ,
3940
- int max_tx_rate )
3939
+ int mlx5e_set_vf_rate (struct net_device * dev , int vf , int min_tx_rate ,
3940
+ int max_tx_rate )
3941
3941
{
3942
3942
struct mlx5e_priv * priv = netdev_priv (dev );
3943
3943
struct mlx5_core_dev * mdev = priv -> mdev ;
@@ -3978,8 +3978,8 @@ static int mlx5e_set_vf_link_state(struct net_device *dev, int vf,
3978
3978
mlx5_ifla_link2vport (link_state ));
3979
3979
}
3980
3980
3981
- static int mlx5e_get_vf_config (struct net_device * dev ,
3982
- int vf , struct ifla_vf_info * ivi )
3981
+ int mlx5e_get_vf_config (struct net_device * dev ,
3982
+ int vf , struct ifla_vf_info * ivi )
3983
3983
{
3984
3984
struct mlx5e_priv * priv = netdev_priv (dev );
3985
3985
struct mlx5_core_dev * mdev = priv -> mdev ;
@@ -3992,8 +3992,8 @@ static int mlx5e_get_vf_config(struct net_device *dev,
3992
3992
return 0 ;
3993
3993
}
3994
3994
3995
- static int mlx5e_get_vf_stats (struct net_device * dev ,
3996
- int vf , struct ifla_vf_stats * vf_stats )
3995
+ int mlx5e_get_vf_stats (struct net_device * dev ,
3996
+ int vf , struct ifla_vf_stats * vf_stats )
3997
3997
{
3998
3998
struct mlx5e_priv * priv = netdev_priv (dev );
3999
3999
struct mlx5_core_dev * mdev = priv -> mdev ;
@@ -4054,8 +4054,7 @@ static void mlx5e_vxlan_queue_work(struct mlx5e_priv *priv, u16 port, int add)
4054
4054
queue_work (priv -> wq , & vxlan_work -> work );
4055
4055
}
4056
4056
4057
- static void mlx5e_add_vxlan_port (struct net_device * netdev ,
4058
- struct udp_tunnel_info * ti )
4057
+ void mlx5e_add_vxlan_port (struct net_device * netdev , struct udp_tunnel_info * ti )
4059
4058
{
4060
4059
struct mlx5e_priv * priv = netdev_priv (netdev );
4061
4060
@@ -4068,8 +4067,7 @@ static void mlx5e_add_vxlan_port(struct net_device *netdev,
4068
4067
mlx5e_vxlan_queue_work (priv , be16_to_cpu (ti -> port ), 1 );
4069
4068
}
4070
4069
4071
- static void mlx5e_del_vxlan_port (struct net_device * netdev ,
4072
- struct udp_tunnel_info * ti )
4070
+ void mlx5e_del_vxlan_port (struct net_device * netdev , struct udp_tunnel_info * ti )
4073
4071
{
4074
4072
struct mlx5e_priv * priv = netdev_priv (netdev );
4075
4073
@@ -4119,9 +4117,9 @@ static netdev_features_t mlx5e_tunnel_features_check(struct mlx5e_priv *priv,
4119
4117
return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK );
4120
4118
}
4121
4119
4122
- static netdev_features_t mlx5e_features_check (struct sk_buff * skb ,
4123
- struct net_device * netdev ,
4124
- netdev_features_t features )
4120
+ netdev_features_t mlx5e_features_check (struct sk_buff * skb ,
4121
+ struct net_device * netdev ,
4122
+ netdev_features_t features )
4125
4123
{
4126
4124
struct mlx5e_priv * priv = netdev_priv (netdev );
4127
4125
0 commit comments