Lines Matching refs:match
218 * priority match takes precedence over lower priority match.
742 const struct ofdpa_flow_tbl_entry *match)
745 size_t key_len = match->key_len ? match->key_len : sizeof(found->key);
748 entry, match->key_crc32) {
749 if (memcmp(&found->key, &match->key, key_len) == 0)
757 int flags, struct ofdpa_flow_tbl_entry *match)
761 size_t key_len = match->key_len ? match->key_len : sizeof(found->key);
764 match->key_crc32 = crc32(~0, &match->key, key_len);
768 found = ofdpa_flow_tbl_find(ofdpa, match);
771 match->cookie = found->cookie;
774 found = match;
777 found = match;
792 int flags, struct ofdpa_flow_tbl_entry *match)
796 size_t key_len = match->key_len ? match->key_len : sizeof(found->key);
800 match->key_crc32 = crc32(~0, &match->key, key_len);
804 found = ofdpa_flow_tbl_find(ofdpa, match);
813 kfree(match);
1049 const struct ofdpa_group_tbl_entry *match)
1054 entry, match->group_id) {
1055 if (found->group_id == match->group_id)
1076 struct ofdpa_group_tbl_entry *match)
1084 found = ofdpa_group_tbl_find(ofdpa, match);
1089 found = match;
1092 found = match;
1107 struct ofdpa_group_tbl_entry *match)
1116 found = ofdpa_group_tbl_find(ofdpa, match);
1125 ofdpa_group_tbl_entry_free(match);
1885 const struct ofdpa_fdb_tbl_entry *match)
1889 hash_for_each_possible(ofdpa->fdb_tbl, found, entry, match->key_crc32)
1890 if (memcmp(&found->key, &match->key, sizeof(found->key)) == 0)