Lines Matching refs:fdir
1301 * iavf_clear_fdir_filters - Remove fdir filters not sent to PF yet and mark
1307 struct iavf_fdir_fltr *fdir;
1311 list_for_each_entry(fdir, &adapter->fdir_list_head, list) {
1312 if (fdir->state == IAVF_FDIR_FLTR_ADD_REQUEST) {
1314 fdir->state = IAVF_FDIR_FLTR_INACTIVE;
1315 } else if (fdir->state == IAVF_FDIR_FLTR_ADD_PENDING ||
1316 fdir->state == IAVF_FDIR_FLTR_ACTIVE) {
1320 fdir->state = IAVF_FDIR_FLTR_DIS_REQUEST;
4323 struct iavf_fdir_fltr *fdir, *fdirtmp;
4330 list_for_each_entry_safe(fdir, fdirtmp, &adapter->fdir_list_head,
4332 if (fdir->state == IAVF_FDIR_FLTR_ADD_REQUEST ||
4333 fdir->state == IAVF_FDIR_FLTR_INACTIVE) {
4335 list_del(&fdir->list);
4336 kfree(fdir);
4338 } else if (fdir->state == IAVF_FDIR_FLTR_ADD_PENDING ||
4339 fdir->state == IAVF_FDIR_FLTR_DIS_REQUEST ||
4340 fdir->state == IAVF_FDIR_FLTR_ACTIVE) {
4342 fdir->state = IAVF_FDIR_FLTR_DEL_REQUEST;
4344 } else if (fdir->state == IAVF_FDIR_FLTR_DIS_PENDING) {
4349 fdir->state = IAVF_FDIR_FLTR_DEL_PENDING;
5100 struct iavf_fdir_fltr *fdir, *fdirtmp;
5210 list_for_each_entry_safe(fdir, fdirtmp, &adapter->fdir_list_head, list) {
5211 list_del(&fdir->list);
5212 kfree(fdir);