Lines Matching +full:half +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0-only */
13 /*! This is used to store the 48 bit value used to compare SA, DA or
14 * halfDA+half SA value.
17 /*! This is used to store the 16 bit ethertype value used for
21 /*! The match mask is per-nibble. 0 means don't care, i.e. every value
22 * will match successfully. The total data is 64 bit, i.e. 16 nibbles
29 * 3: compare half DA + half SA
52 /*! The 8 bit value used to compare with extracted value for byte 3. */
54 /*! The 8 bit value used to compare with extracted value for byte 2. */
56 /*! The 8 bit value used to compare with extracted value for byte 1. */
58 /*! The 8 bit value used to compare with extracted value for byte 0. */
60 /*! The 8 bit TCI field used to compare with extracted value. */
62 /*! The 64 bit SCI field in the SecTAG. */
64 /*! The 16 bit Ethertype (in the clear) field used to compare with
68 /*! This is to specify the 40bit SNAP header if the SNAP header's mask
72 /*! This is to specify the 24bit LLC header if the LLC header's mask is
76 /*! The 48 bit MAC_SA field used to compare with extracted value. */
78 /*! The 48 bit MAC_DA field used to compare with extracted value. */
80 /*! The 32 bit Packet number used to compare with extracted value. */
122 /*! Mask is per-byte.
135 /*! This is bit mask to enable comparison the 8 bit TCI field,
142 /*! Mask is per-byte.
151 /*! Mask is per-byte.
156 /*! Mask is per-byte.
159 * If this bit is set to 1, the extracted filed will assume the
166 * If this bit is set to 1, the extracted filed will assume the
171 /*! Mask is per-byte.
176 /*! Mask is per-byte.
181 /*! Mask is per-byte. */
183 /*! Reserved. This bit should be always 0. */
195 /*! If packet matches and tagged as controlled-packet, this SC/SA
215 * If the above's action is drop, this bit has no meaning.
220 * un-control packet.
242 /*! 0: Clear the SA Valid Bit after PN expiry.
243 * 1: Do not Clear the SA Valid bit after PN expiry of the current SA.
255 * [[Values of 0, 4, 8-50].
265 * This bit is set by HW.
268 /*! 0: H/W Clears this bit on the first use.
273 * 00 - 128bits
274 * 01 - 192bits
275 * 10 - 256bits
276 * 11 - Reserved.
313 /*! Key for AES-GCM processing. */
317 /*! Represents the bitfields of a single row in the Ingress Pre-MACSec
321 /*! This is used to store the 48 bit value used to compare SA, DA
322 * or halfDA+half SA value.
325 /*! This is used to store the 16 bit ethertype value used for
329 /*! The match mask is per-nibble. 0 means don't care, i.e. every
330 * value will match successfully. The total data is 64 bit, i.e.
337 * 3: compare half DA + half SA
350 /*! Represents the bitfields of a single row in the Ingress Pre-MACSec
354 /*! The 64 bit SCI field used to compare with extracted value.
359 /*! The 8 bit TCI field used to compare with extracted value. */
361 /*! 8 bit encryption offset. */
363 /*! The 16 bit Ethertype (in the clear) field used to compare with
367 /*! This is to specify the 40bit SNAP header if the SNAP header's
371 /*! This is to specify the 24bit LLC header if the LLC header's
375 /*! The 48 bit MAC_SA field used to compare with extracted value. */
377 /*! The 48 bit MAC_DA field used to compare with extracted value. */
379 /*! 0: this is to compare with non-LPBK packet
381 * This value is used to compare with a controlled-tag which goes
385 /*! The value of this bit mask will affects how the SC index and SA
399 * can either ping-pong buffer 2 SA by using only the AN[0] bit.
405 /*! This is bit mask to enable comparison the upper 6 bits TCI
415 /*! Mask is per-byte.
420 /*! Mask is per-byte.
423 * If this bit is set to 1, the extracted filed will assume the
428 /*! Mask is per-byte.
431 * If this bit is set to 1, the extracted filed will assume the
436 /*! Reserved. This bit should be always 0. */
438 /*! Mask is per-byte.
443 /*! Mask is per-byte.
452 /*! If packet matches and tagged as controlled-packet. This SC/SA
458 * If the above's action is drop. This bit has no meaning.
466 * by post-classification.
470 /*! 0: This is a controlled-port packet if matched.
471 * 1: This is an uncontrolled-port packet if matched.
474 /*! Use the SCI value from the Table if 'SC' bit of the input
501 /*! This is to specify the window range for anti-replay. Default is 0.
507 * This bit is set by HW.
511 * this bit
512 * 1: This bit is set by SW, when it sets up the SC.
538 * anti-replay.
551 * 1: This bit is set by SW, when it sets up the SC.
566 /*! Key for AES-GCM processing. */
569 * 00 - 128bits
570 * 01 - 192bits
571 * 10 - 256bits
572 * 11 - reserved.
577 /*! Represents the bitfields of a single row in the Ingress Post-
581 /*! The 8 bit value used to compare with extracted value for byte 0. */
583 /*! The 8 bit value used to compare with extracted value for byte 1. */
585 /*! The 8 bit value used to compare with extracted value for byte 2. */
587 /*! The 8 bit value used to compare with extracted value for byte 3. */
667 /*! Represents the bitfields of a single row in the Ingress Post-
671 /*! This is used to store the 48 bit value used to compare SA, DA
672 * or halfDA+half SA value.
675 /*! This is used to store the 16 bit ethertype value used for
679 /*! The match mask is per-nibble. 0 means don't care, i.e. every
680 * value will match successfully. The total data is 64 bit, i.e.
687 * 3: compare half DA + half SA
814 * - the matched row in the Ingress SC Lookup table has
816 * - the matched row in the Ingress SC Lookup table has
819 * - the matched row in the Ingress SC Lookup table has
842 * (SecTAG), not matching any rows in the Ingress Pre-MACSec
847 * (SecTAG), not matching any rows in the Ingress Pre-MACSec
868 * validate_frames=Strict or the C bit in the SecTAG is set.
873 * validate_frames!=Strict and the C bit in the SecTAG is not set.
877 * that passed the Ingress Post-MACSec Packet Classifier table
882 * service that passed the Ingress Post-MACSec Packet Classifier
887 * that failed the Ingress Post-MACSec Packet Classifier table
892 * service that failed the Ingress Post-MACSec Packet Classifier
901 * Ingress Post-MACSec CTL Filter table.