Lines Matching defs: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,
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {}
112 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs)
114 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs)
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 struct mlx5e_tc_table *mlx5e_fs_get_tc(struct mlx5e_flow_steering *fs);
154 struct mlx5e_l2_table *mlx5e_fs_get_l2(struct mlx5e_flow_steering *fs);
155 struct mlx5_flow_namespace *mlx5e_fs_get_ns(struct mlx5e_flow_steering *fs, bool egress);
156 void mlx5e_fs_set_ns(struct mlx5e_flow_steering *fs, struct mlx5_flow_namespace *ns, bool egress);
158 struct mlx5e_ethtool_steering *mlx5e_fs_get_ethtool(struct mlx5e_flow_steering *fs);
160 struct mlx5_ttc_table *mlx5e_fs_get_ttc(struct mlx5e_flow_steering *fs, bool inner);
161 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
163 struct mlx5e_arfs_tables *mlx5e_fs_get_arfs(struct mlx5e_flow_steering *fs);
164 void mlx5e_fs_set_arfs(struct mlx5e_flow_steering *fs, struct mlx5e_arfs_tables *arfs);
166 struct mlx5e_ptp_fs *mlx5e_fs_get_ptp(struct mlx5e_flow_steering *fs);
167 void mlx5e_fs_set_ptp(struct mlx5e_flow_steering *fs, struct mlx5e_ptp_fs *ptp_fs);
168 struct mlx5e_fs_any *mlx5e_fs_get_any(struct mlx5e_flow_steering *fs);
169 void mlx5e_fs_set_any(struct mlx5e_flow_steering *fs, struct mlx5e_fs_any *any);
170 struct mlx5e_fs_udp *mlx5e_fs_get_udp(struct mlx5e_flow_steering *fs);
171 void mlx5e_fs_set_udp(struct mlx5e_flow_steering *fs, struct mlx5e_fs_udp *udp);
173 struct mlx5e_accel_fs_tcp *mlx5e_fs_get_accel_tcp(struct mlx5e_flow_steering *fs);
174 void mlx5e_fs_set_accel_tcp(struct mlx5e_flow_steering *fs, struct mlx5e_accel_fs_tcp *accel_tcp);
176 void mlx5e_fs_set_state_destroy(struct mlx5e_flow_steering *fs, bool state_destroy);
177 void mlx5e_fs_set_vlan_strip_disable(struct mlx5e_flow_steering *fs, bool vlan_strip_disable);
179 struct mlx5_core_dev *mlx5e_fs_get_mdev(struct mlx5e_flow_steering *fs);
180 int mlx5e_add_vlan_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num);
181 void mlx5e_remove_vlan_trap(struct mlx5e_flow_steering *fs);
182 int mlx5e_add_mac_trap(struct mlx5e_flow_steering *fs, int trap_id, int tir_num);
183 void mlx5e_remove_mac_trap(struct mlx5e_flow_steering *fs);
184 void mlx5e_fs_set_rx_mode_work(struct mlx5e_flow_steering *fs, struct net_device *netdev);
185 int mlx5e_fs_vlan_rx_add_vid(struct mlx5e_flow_steering *fs,
188 int mlx5e_fs_vlan_rx_kill_vid(struct mlx5e_flow_steering *fs,
191 void mlx5e_fs_init_l2_addr(struct mlx5e_flow_steering *fs, struct net_device *netdev);
193 struct dentry *mlx5e_fs_get_debugfs_root(struct mlx5e_flow_steering *fs);
195 #define fs_err(fs, fmt, ...) \
196 mlx5_core_err(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
198 #define fs_dbg(fs, fmt, ...) \
199 mlx5_core_dbg(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
201 #define fs_warn(fs, fmt, ...) \
202 mlx5_core_warn(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
204 #define fs_warn_once(fs, fmt, ...) \
205 mlx5_core_warn_once(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)