Lines Matching full:extraction

41 /* The CPU injection header and the CPU extraction header can have 3 types of
45 * Extraction with long prefix:
48 * | ff:ff:ff:ff:ff:ff | fe:ff:ff:ff:ff:ff | 8880 | 000a | extraction | frame |
53 * Extraction with short prefix:
56 * | 8880 | 000a | extraction | frame |
61 * Extraction with no prefix:
64 * | extraction | frame |
132 * And the extraction header looks like this:
187 static inline void ocelot_xfh_get_rew_val(void *extraction, u64 *rew_val) in ocelot_xfh_get_rew_val() argument
189 packing(extraction, rew_val, 116, 85, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_rew_val()
192 static inline void ocelot_xfh_get_len(void *extraction, u64 *len) in ocelot_xfh_get_len() argument
196 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
197 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
202 static inline void ocelot_xfh_get_src_port(void *extraction, u64 *src_port) in ocelot_xfh_get_src_port() argument
204 packing(extraction, src_port, 46, 43, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_src_port()
207 static inline void ocelot_xfh_get_qos_class(void *extraction, u64 *qos_class) in ocelot_xfh_get_qos_class() argument
209 packing(extraction, qos_class, 19, 17, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_qos_class()
212 static inline void ocelot_xfh_get_tag_type(void *extraction, u64 *tag_type) in ocelot_xfh_get_tag_type() argument
214 packing(extraction, tag_type, 16, 16, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_tag_type()
217 static inline void ocelot_xfh_get_vlan_tci(void *extraction, u64 *vlan_tci) in ocelot_xfh_get_vlan_tci() argument
219 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci()