Searched refs:old_sfi (Results 1 – 2 of 2) sorted by relevance
1133 struct enetc_psfp_filter *sfi, *old_sfi; in enetc_psfp_parse_clsflower() local1310 old_sfi = enetc_psfp_check_sfi(sfi); in enetc_psfp_parse_clsflower()1311 if (!old_sfi) { in enetc_psfp_parse_clsflower()1328 filter->sfi_index = old_sfi->index; in enetc_psfp_parse_clsflower()1329 filter->sid.handle = old_sfi->handle; in enetc_psfp_parse_clsflower()1362 if (!old_sfi) { in enetc_psfp_parse_clsflower()1367 refcount_inc(&old_sfi->refcount); in enetc_psfp_parse_clsflower()
2234 struct felix_stream_filter old_sfi, *sfi_entry; in vsc9959_psfp_filter_add() local2332 memcpy(&old_sfi, sfi_entry, sizeof(old_sfi)); in vsc9959_psfp_filter_add()2336 old_sfi.portmask = stream_entry->ports; in vsc9959_psfp_filter_add()2341 &old_sfi); in vsc9959_psfp_filter_add()2344 ret = vsc9959_psfp_sfi_table_add2(ocelot, &old_sfi, in vsc9959_psfp_filter_add()2351 stream_entry->sfid = old_sfi.index; in vsc9959_psfp_filter_add()