Lines Matching defs:key
18 struct mod_hdr_key key;
27 static u32 hash_mod_hdr_info(struct mod_hdr_key *key)
29 return jhash(key->actions,
30 key->num_actions * MLX5_MH_ACT_SZ, 0);
55 struct mod_hdr_key *key,
61 if (!cmp_mod_hdr_info(&mh->key, key)) {
79 struct mod_hdr_key key;
85 key.actions = mod_hdr_acts->actions;
86 key.num_actions = num_actions;
88 hash_key = hash_mod_hdr_info(&key);
91 mh = mod_hdr_get(tbl, &key, hash_key);
109 mh->key.actions = (void *)mh + sizeof(*mh);
110 memcpy(mh->key.actions, key.actions, actions_size);
111 mh->key.num_actions = num_actions;
119 mh->key.num_actions,
120 mh->key.actions);