|
@@ -68,10 +68,7 @@ void mlx5e_tc_encap_flows_del(struct mlx5e_priv *priv,
|
|
struct mlx5e_neigh_hash_entry;
|
|
struct mlx5e_neigh_hash_entry;
|
|
void mlx5e_tc_update_neigh_used_value(struct mlx5e_neigh_hash_entry *nhe);
|
|
void mlx5e_tc_update_neigh_used_value(struct mlx5e_neigh_hash_entry *nhe);
|
|
|
|
|
|
-static inline int mlx5e_tc_num_filters(struct mlx5e_priv *priv)
|
|
|
|
-{
|
|
|
|
- return atomic_read(&priv->fs.tc.ht.nelems);
|
|
|
|
-}
|
|
|
|
|
|
+int mlx5e_tc_num_filters(struct mlx5e_priv *priv);
|
|
|
|
|
|
#else /* CONFIG_MLX5_ESWITCH */
|
|
#else /* CONFIG_MLX5_ESWITCH */
|
|
static inline int mlx5e_tc_nic_init(struct mlx5e_priv *priv) { return 0; }
|
|
static inline int mlx5e_tc_nic_init(struct mlx5e_priv *priv) { return 0; }
|