Lines Matching refs:fs

100 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs,
102 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
103 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs);
104 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs);
108 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables() argument
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
112 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument
114 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument
127 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs,
131 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs);
132 int mlx5e_create_ttc_table(struct mlx5e_flow_steering *fs,
137 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
138 void mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
140 int mlx5e_create_flow_steering(struct mlx5e_flow_steering *fs,
144 void mlx5e_destroy_flow_steering(struct mlx5e_flow_steering *fs, bool ntuple,
151 void mlx5e_fs_cleanup(struct mlx5e_flow_steering *fs);
152 struct mlx5e_vlan_table *mlx5e_fs_get_vlan(struct mlx5e_flow_steering *fs);
153 void mlx5e_fs_set_tc(struct mlx5e_flow_steering *fs, struct mlx5e_tc_table *tc);
154 struct mlx5e_tc_table *mlx5e_fs_get_tc(struct mlx5e_flow_steering *fs);
155 struct mlx5e_l2_table *mlx5e_fs_get_l2(struct mlx5e_flow_steering *fs);
156 struct mlx5_flow_namespace *mlx5e_fs_get_ns(struct mlx5e_flow_steering *fs, bool egress);
157 void mlx5e_fs_set_ns(struct mlx5e_flow_steering *fs, struct mlx5_flow_namespace *ns, bool egress);
159 struct mlx5e_ethtool_steering *mlx5e_fs_get_ethtool(struct mlx5e_flow_steering *fs);
161 struct mlx5_ttc_table *mlx5e_fs_get_ttc(struct mlx5e_flow_steering *fs, bool inner);
162 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
164 struct mlx5e_arfs_tables *mlx5e_fs_get_arfs(struct mlx5e_flow_steering *fs);
165 void mlx5e_fs_set_arfs(struct mlx5e_flow_steering *fs, struct mlx5e_arfs_tables *arfs);
167 struct mlx5e_ptp_fs *mlx5e_fs_get_ptp(struct mlx5e_flow_steering *fs);
168 void mlx5e_fs_set_ptp(struct mlx5e_flow_steering *fs, struct mlx5e_ptp_fs *ptp_fs);
169 struct mlx5e_fs_any *mlx5e_fs_get_any(struct mlx5e_flow_steering *fs);
170 void mlx5e_fs_set_any(struct mlx5e_flow_steering *fs, struct mlx5e_fs_any *any);
171 struct mlx5e_fs_udp *mlx5e_fs_get_udp(struct mlx5e_flow_steering *fs);
172 void mlx5e_fs_set_udp(struct mlx5e_flow_steering *fs, struct mlx5e_fs_udp *udp);
174 struct mlx5e_accel_fs_tcp *mlx5e_fs_get_accel_tcp(struct mlx5e_flow_steering *fs);
175 void mlx5e_fs_set_accel_tcp(struct mlx5e_flow_steering *fs, struct mlx5e_accel_fs_tcp *accel_tcp);
177 void mlx5e_fs_set_state_destroy(struct mlx5e_flow_steering *fs, bool state_destroy);
178 void mlx5e_fs_set_vlan_strip_disable(struct mlx5e_flow_steering *fs, bool vlan_strip_disable);
180 struct mlx5_core_dev *mlx5e_fs_get_mdev(struct mlx5e_flow_steering *fs);
181 int mlx5e_add_vlan_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num);
182 void mlx5e_remove_vlan_trap(struct mlx5e_flow_steering *fs);
183 int mlx5e_add_mac_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num);
184 void mlx5e_remove_mac_trap(struct mlx5e_flow_steering *fs);
185 void mlx5e_fs_set_rx_mode_work(struct mlx5e_flow_steering *fs, struct net_device *netdev);
186 int mlx5e_fs_vlan_rx_add_vid(struct mlx5e_flow_steering *fs,
189 int mlx5e_fs_vlan_rx_kill_vid(struct mlx5e_flow_steering *fs,
192 void mlx5e_fs_init_l2_addr(struct mlx5e_flow_steering *fs, struct net_device *netdev);
194 struct dentry *mlx5e_fs_get_debugfs_root(struct mlx5e_flow_steering *fs);
196 #define fs_err(fs, fmt, ...) \ argument
197 mlx5_core_err(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
199 #define fs_dbg(fs, fmt, ...) \ argument
200 mlx5_core_dbg(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
202 #define fs_warn(fs, fmt, ...) \ argument
203 mlx5_core_warn(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
205 #define fs_warn_once(fs, fmt, ...) \ argument
206 mlx5_core_warn_once(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)