Lines Matching full:injection

40 /* The CPU injection header and the CPU extraction header can have 3 types of
69 * Injection with long prefix:
72 * | any dmac | any smac | 8880 | 000a | injection | frame |
77 * Injection with short prefix:
80 * | 8880 | 000a | injection | frame |
85 * Injection with no prefix:
88 * | injection | frame |
93 * The injection header looks like this (network byte order, bit 127
221 static inline void ocelot_ifh_set_bypass(void *injection, u64 bypass) in ocelot_ifh_set_bypass() argument
223 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
226 static inline void ocelot_ifh_set_rew_op(void *injection, u64 rew_op) in ocelot_ifh_set_rew_op() argument
228 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op()
231 static inline void ocelot_ifh_set_dest(void *injection, u64 dest) in ocelot_ifh_set_dest() argument
233 packing(injection, &dest, 67, 56, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_dest()
236 static inline void ocelot_ifh_set_qos_class(void *injection, u64 qos_class) in ocelot_ifh_set_qos_class() argument
238 packing(injection, &qos_class, 19, 17, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_qos_class()
241 static inline void seville_ifh_set_dest(void *injection, u64 dest) in seville_ifh_set_dest() argument
243 packing(injection, &dest, 67, 57, OCELOT_TAG_LEN, PACK, 0); in seville_ifh_set_dest()
246 static inline void ocelot_ifh_set_src(void *injection, u64 src) in ocelot_ifh_set_src() argument
248 packing(injection, &src, 46, 43, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_src()
251 static inline void ocelot_ifh_set_tag_type(void *injection, u64 tag_type) in ocelot_ifh_set_tag_type() argument
253 packing(injection, &tag_type, 16, 16, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_tag_type()
256 static inline void ocelot_ifh_set_vlan_tci(void *injection, u64 vlan_tci) in ocelot_ifh_set_vlan_tci() argument
258 packing(injection, &vlan_tci, 15, 0, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_vlan_tci()