Lines Matching full:extraction
40 /* The CPU injection header and the CPU extraction header can have 3 types of
44 * Extraction with long prefix:
47 * | ff:ff:ff:ff:ff:ff | fe:ff:ff:ff:ff:ff | 8880 | 000a | extraction | frame |
52 * Extraction with short prefix:
55 * | 8880 | 000a | extraction | frame |
60 * Extraction with no prefix:
63 * | extraction | frame |
131 * And the extraction header looks like this:
186 static inline void ocelot_xfh_get_rew_val(void *extraction, u64 *rew_val) in ocelot_xfh_get_rew_val() argument
188 packing(extraction, rew_val, 116, 85, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_rew_val()
191 static inline void ocelot_xfh_get_len(void *extraction, u64 *len) in ocelot_xfh_get_len() argument
195 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
196 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
201 static inline void ocelot_xfh_get_src_port(void *extraction, u64 *src_port) in ocelot_xfh_get_src_port() argument
203 packing(extraction, src_port, 46, 43, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_src_port()
206 static inline void ocelot_xfh_get_qos_class(void *extraction, u64 *qos_class) in ocelot_xfh_get_qos_class() argument
208 packing(extraction, qos_class, 19, 17, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_qos_class()
211 static inline void ocelot_xfh_get_tag_type(void *extraction, u64 *tag_type) in ocelot_xfh_get_tag_type() argument
213 packing(extraction, tag_type, 16, 16, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_tag_type()
216 static inline void ocelot_xfh_get_vlan_tci(void *extraction, u64 *vlan_tci) in ocelot_xfh_get_vlan_tci() argument
218 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci()