• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/bnxt/

Lines Matching refs:packet

75  * specification describes the data structures used in Ethernet packet or RDMA
87 * an aggregation buffer that will be used for packet data that is received. An
89 * packet where a variable number of BDs may be used to place the packet in the
107 * packet transmission.
132 * packet transmission.
143 * All bits in this field must be valid on the first BD of a packet.
145 * packet.
152 * packet transmission.
156 * If set to 1, the packet ends with the data in the buffer pointed to
162 * transmit packet unless there is an error in it's processing. If this
163 * bit is set to 0, then the packet will be completed normally. This bit
164 * must be valid only on the first BD of a packet.
169 * ring by this packet. A value of 1 indicates that this BD is the only
171 * short BDs or 1 long BD and one short BD in the packet. A value of 0
172 * indicates that there are 32 BD locations in the packet (the maximum).
173 * This field is valid only on the first BD of a packet.
178 * This value is a hint for the length of the entire packet. It is used
179 * by the chip to optimize internal processing. The packet will be
181 * first BD of a packet.
185 /* indicates packet length < 512B */
187 /* indicates 512 <= packet length < 1KB */
189 /* indicates 1KB <= packet length < 2KB */
191 /* indicates packet length >= 2KB */
201 * has been met. This bit must be valid on the first BD of a packet.
205 * All bits in this field must be valid on the first BD of a packet.
207 * packet.
214 * bytes. This field must be valid on all BDs of a packet.
220 * transmit BD. This field must be valid on the first BD of a packet.
224 * This is the host physical address for the portion of the packet
226 * packet.
235 * All bits in this field must be valid on the first BD of a packet.
237 * packet.
244 * packet transmission.
248 * If set to 1, the packet ends with the data in the buffer pointed to
254 * transmit packet unless there is an error in it's processing. If this
255 * bit is set to 0, then the packet will be completed normally. This bit
256 * must be valid only on the first BD of a packet.
261 * ring by this packet. A value of 1 indicates that this BD is the only
263 * short BDs or 1 long BD and one short BD in the packet. A value of 0
264 * indicates that there are 32 BD locations in the packet (the maximum).
265 * This field is valid only on the first BD of a packet.
270 * This value is a hint for the length of the entire packet. It is used
271 * by the chip to optimize internal processing. The packet will be
273 * first BD of a packet.
277 /* indicates packet length < 512B */
279 /* indicates 512 <= packet length < 1KB */
281 /* indicates 1KB <= packet length < 2KB */
283 /* indicates packet length >= 2KB */
293 * has been met. This bit must be valid on the first BD of a packet.
297 * All bits in this field must be valid on the first BD of a packet.
299 * packet.
306 * bytes. This field must be valid on all BDs of a packet.
312 * transmit BD. This field must be valid on the first BD of a packet.
316 * This is the host physical address for the portion of the packet
318 * packet.
327 * All bits in this field must be valid on the first BD of a packet.
328 * Their value on other BDs of the packet will be ignored.
334 * checksum for the packet associated with this descriptor. The flag is
336 * BD of a packet.
342 * the hardware calculated IP checksum for the packet associated with
343 * this descriptor. This bit must be valid on the first BD of a packet.
348 * end of the frame. This bit must be valid on the first BD of a packet.
351 * intent is that the packet from the host already has a valid Ethernet
352 * CRC on the packet.
356 * If set to 1, the device will record the time at which the packet was
358 * first BD of a packet.
363 * with hardware calculated IP checksum for the IP header of the packet
368 * flag set to offload checksum for inner packet AND the inner packet is
369 * TCP/UDP. If the inner packet is ICMP for example (non-TCP/UDP), even
376 * If set to 1, the device will treat this packet with LSO(Large Send
397 * the LSO packet is a normal (non-tunneled) TCP packet.
401 * If set to '1', then the RoCE ICRC will be appended to the packet.
402 * Packet must be a valid RoCE format packet.
406 * If set to '1', then the FCoE CRC will be appended to the packet.
407 * Packet must be a valid FCoE format packet.
413 * payload from the beginning of the packet in as 16b words. In case of
414 * encapsulated/tunneling packet, this field contains the offset of the
415 * inner TCP payload from beginning of the packet as 16-bit words. This
416 * value must be valid on the first BD of a packet.
425 * BD of a packet.
432 * This value selects a CFA action to perform on the packet. Set this
434 * on the first BD of a packet.
469 * This field identifies the type of edit to be performed on the packet.
470 * This value must be valid on the first BD of a packet.
515 * If set to 1, the packet will be placed at the address plus 2B. The 2
525 * If set to 1, the packet write will be padded out to the nearest
536 * describe the buffer space to be consumed for the this packet. If the
537 * value is zero, then the packet must fit within the space described by
540 * for the same network packet. Even if the packet to be placed does not
550 * for the packet may be placed in host memory.
564 * This is the host physical address where data for the packet may by
590 * for the packet may be placed in host memory.
600 * This is the host physical address where data for the packet may by
622 * If set to 1, the packet write will be padded out to the nearest
636 * for the packet may be placed in host memory.
650 * This is the host physical address where data for the packet may by
673 /* TX L2 completion: Completion of TX packet. Length = 16B */
675 /* RX L2 completion: Completion of and L2 RX packet. Length = 32B */
679 * aggregation buffer in support of TPA, HDS, or Jumbo packet
747 /* TX L2 completion: Completion of TX packet. Length = 16B */
750 * When this bit is '1', it indicates a packet that has an error of some
755 * When this bit is '1', it indicates that the packet completed was
757 * When this bit is '0', it indicates that the packet had not push
758 * acceleration data written or was executed as a normal packet even
769 * transmitted packet.
780 * for the packet.
790 * When this bit is '1', it indicates that the length of the packet was
791 * zero. No packet was transmitted.
795 * When this bit is '1', it indicates that the packet was longer than
796 * the programmed limit in TDI. No packet was transmitted.
801 * associated with this packet generated a PCI error. This probably
806 * When this bit is '1', it indicates that the packet was longer than
807 * indicated by the hint. No packet was transmitted.
811 * When this bit is '1', it indicates that the packet was dropped due to
834 /* RX L2 completion: Completion of and L2 RX packet. Length = 32B */
837 * When this bit is '1', it indicates a packet that has an error of some
841 /* This field indicates how the packet was placed in the buffer. */
860 * This value indicates what the inner packet determined for the packet
865 /* Not Known: Indicates that the packet type was not known. */
868 * IP Packet: Indicates that the packet was an IP packet, but
873 * TCP Packet: Indicates that the packet was IP and TCP. This
878 * UDP Packet: Indicates that the packet was IP and UDP. This
883 * FCoE Packet: Indicates that the packet was recognized as a
889 * RoCE Packet: Indicates that the packet was recognized as a
895 * ICMP Packet: Indicates that the packet was recognized as
900 * PtP packet wo/timestamp: Indicates that the packet was
901 * recognized as a PtP packet.
905 * PtP packet w/timestamp: Indicates that the packet was
906 * recognized as a PtP packet and that a timestamp was taken for
907 * the packet.
915 * This is the length of the data for the packet stored in the buffer(s)
916 * identified by the opaque value. This includes the packet BD and any
935 * entry in the completion ring that are a part of this packet. If the
936 * value is zero, then the packet is completely contained in the buffer
937 * space provided for the packet in the RX ring.
944 * This is the RSS hash type for the packet. The value is packed
950 * the packet headers are considered inner packet headers for the RSS
953 * non-tunneled packets, the packet headers are considered inner packet
970 * packet where the inner payload starts. This value is valid for TCP,
972 * 256B into the packet.
978 * This value is the RSS hash value calculated for the packet based on
989 * packet and that the ip_cs_error field indicates if there was an
995 * the inner packet and that the l4_cs_error field indicates if there
1007 * packet and that the t_l4_cs_error field indicates if there was an
1028 * value is only valid if itype indicates a packet with an IP header.
1056 * for the packet that was found after part of the packet was already
1057 * placed. The packet should be treated as invalid.
1064 * Did Not Fit: Packet did not fit into packet buffer provided.
1065 * For regular placement, this means the packet did not fit in
1067 * that the packet could not be placed into 7 physical buffers
1072 * Not On Chip: All BDs needed for the packet were not on-chip
1073 * when the packet arrived.
1095 * packet. The itype indicates the packet type.
1100 * packet when this field is non-zero.
1106 * packet of the packet does not have a tunnel.
1120 * Indicates that the physical packet is shorter than that
1121 * claimed by the PPPoE header length for a tunnel PPPoE packet.
1125 * Indicates that physical packet is shorter than that claimed
1127 * tunnel packet packets.
1131 * Indicates that the physical packet is shorter than that
1133 * packet that is not fragmented.
1145 * packet when this field is non-zero.
1151 * packet of the packet does not have a tunnel.
1157 * VFT was parsed on FCoE packet.
1171 * Indicates that physical packet is shorter than that claimed
1172 * by the l3 header length. Valid for IPv4, IPv6 packet or RoCE
1177 * Indicates that the physical packet is shorter than that
1178 * claimed by the UDP header length for a UDP packet that is not
1200 * packet.
1204 * This value holds the reordering sequence number for the packet. If
1206 * reordering domain for the packet is in the bottom 8 to 10b of the
1208 * domain value for the packet.
1232 /* This field indicates how the packet was placed in the buffer. */
1250 * first packet is filled with data. Subsequent packets will be
1251 * placed such that any one packet does not span two aggregation
1258 * GRO/HDS where the header is in the first packet. Payload of
1259 * each packet will be placed such that any one packet does not
1270 * This value indicates what the inner packet determined for the packet
1275 /* TCP Packet: Indicates that the packet was IP and TCP. */
1282 * This value indicates the amount of packet data written to the buffer
1301 * This is the RSS hash type for the packet. The value is packed
1307 * the packet headers are considered inner packet headers for the RSS
1310 * non-tunneled packets, the packet headers are considered inner packet
1340 * This value is the RSS hash value calculated for the packet based on
1351 * packet and that the sum passed for all segments included in the
1357 * the inner packet and that the sum passed for all segments included in
1369 * packet and that the sum passed for all segments included in the
1420 * packet.
1429 * This is the offset from the beginning of the packet in bytes for the
1436 * This is the offset from the beginning of the packet in bytes for the
1442 * This is the offset from the beginning of the packet in bytes for the
1473 * When this bit is '1', it indicates a packet that has an error of some
1477 /* This field indicates how the packet was placed in the buffer. */
1495 * first packet is filled with data. Subsequent packets will be
1496 * placed such that any one packet does not span two aggregation
1503 * GRO/HDS where the header is in the first packet. Payload of
1504 * each packet will be placed such that any one packet does not
1514 * This value indicates what the inner packet determined for the packet
1515 * was. - 2 TCP Packet Indicates that the packet was IP and TCP. This
1545 * packet. If the value is zero, then the packet is completely contained
1556 * packet where the inner payload starts. This value is valid for TCP,
1577 * earliest and latest timestamp values for TPA packet. If packets were
1581 * packet. When '1', then a Timestamp option is present in the packet.
1602 * used by GRO software to re-construct the original packet stream from
1603 * the TPA packet. This is the length of all but the last segment for
1618 * for the packet that was found after part of the packet was already
1619 * placed. The packet should be treated as invalid.
1665 * aggregation buffer in support of TPA, HDS, or Jumbo packet
1672 * This is the length of the data for the packet stored in this
1675 * the packet or buffer BDs. This length does not include any space
2919 * Description: The backup version of the packet must be valid in the TX ring
2924 * exactly one push packet. The backup version of the packet must start with a
2929 * packet into the chip for super-fast transmission. This pushes a partial BD
2930 * and the packet data into the chip. If the chip has room, it will transmit the
2931 * packet. If the chip dosn't have room, it will read the BD and packet data
2932 * from host memory as a normal packet.
3070 * This is the BD Index of last BD of the push packet that will be used
3077 * "backup" version of the packet being pushed. A value of 1 is invalid
3094 * All bits in this field must be valid on the first BD of a packet.
3096 * packet.
3103 * packet transmission.
3107 * If set to 1, the packet ends with the data in the buffer pointed to
3114 * transmit packet unless there is an error in it's processing. If this
3115 * bit is set to 0, then the packet will be completed normally. This bit
3116 * must be valid only on the first BD of a packet.
3122 * by this packet, then this value must be 16 (not zero).
3127 * This value is a hint for the length of the entire packet. It is used
3128 * by the chip to optimize internal processing. The packet will be
3130 * first BD of a packet.
3134 /* indicates packet length < 512B */
3136 /* indicates 512 <= packet length < 1KB */
3138 /* indicates 1KB <= packet length < 2KB */
3140 /* indicates packet length >= 2KB */
3150 * has been met. This bit must be valid on the first BD of a packet.
3154 * All bits in this field must be valid on the first BD of a packet.
3156 * packet.
3163 * bytes. This field must be valid on all BDs of a packet.
3169 * transmit BD. This field must be valid on the first BD of a packet.
3173 * All bits in this field must be valid on the first BD of a packet.
3174 * Their value on other BDs of the packet will be ignored.
3180 * checksum for the packet associated with this descriptor. The flag is
3182 * BD of a packet.
3188 * the hardware calculated IP checksum for the packet associated with
3189 * this descriptor. This bit must be valid on the first BD of a packet.
3194 * end of the frame. This bit must be valid on the first BD of a packet.
3197 * intent is that the packet from the host already has a valid Ethernet
3198 * CRC on the packet.
3202 * If set to 1, the device will record the time at which the packet was
3204 * first BD of a packet.
3209 * with hardware calculated IP checksum for the IP header of the packet
3214 * flag set to offload checksum for inner packet AND the inner packet is
3215 * TCP/UDP. If the inner packet is ICMP for example (non-TCP/UDP), even
3222 * If set to 1, the device will treat this packet with LSO(Large Send
3243 * the LSO packet is a normal (non-tunneled) TCP packet.
3247 * If set to '1', then the RoCE ICRC will be appended to the packet.
3248 * Packet must be a valid RoCE format packet.
3252 * If set to '1', then the FCoE CRC will be appended to the packet.
3253 * Packet must be a valid FCoE format packet.
3259 * payload from the beginning of the packet in as 16b words. In case of
3260 * encapsulated/tunneling packet, this field contains the offset of the
3261 * inner TCP payload from beginning of the packet as 16-bit words. This
3262 * value must be valid on the first BD of a packet.
3271 * BD of a packet.
3278 * This value selects a CFA action to perform on the packet. Set this
3280 * on the first BD of a packet.
3315 * This field identifies the type of edit to be performed on the packet.
3316 * This value must be valid on the first BD of a packet.
3330 * This is the data for the push packet. If the packet data does not fit
3616 * be set only in the last (or only) packet of the message.
3645 * transmitted packet. However, if the most significant bit of this
3653 * the transmitted packet. When in the SQ of a non-UD QP, this field is
3719 * All bits in this field must be valid on the first BD of a packet.
3720 * Their value on other BDs of the packet will be ignored.
3726 * checksum for the packet associated with this descriptor. This bit
3727 * must be valid on the first BD of a packet.
3733 * the hardware calculated IP checksum for the packet associated with
3734 * this descriptor. This bit must be valid on the first BD of a packet.
3739 * end of the frame. This bit must be valid on the first BD of a packet.
3742 * intent is that the packet from the host already has a valid Ethernet
3743 * CRC on the packet.
3747 * If set to 1, the device will record the time at which the packet was
3749 * first BD of a packet.
3754 * with hardware calculated IP checksum for the IP header of the packet
3757 * UDP checksum for the packet associated with this descriptor.
3767 * If set to '1', then the RoCE ICRC will be appended to the packet.
3768 * Packet must be a valid RoCE format packet.
3772 * If set to '1', then the FCoE CRC will be appended to the packet.
3773 * Packet must be a valid FCoE format packet.
3778 * This value selects a CFA action to perform on the packet. Set this
3780 * on the first BD of a packet.
3821 * This field identifies the type of edit to be performed on the packet.
3822 * This value must be valid on the first BD of a packet.
3880 * be set only in the last (or only) packet of the message.
3955 * be set only in the last (or only) packet of the message.
4011 * be set only in the last (or only) packet of the message.
4579 * This indicates that the packet was too long for the WQE
4642 * When this bit is '1', it indicates a packet that has an error of some
4649 * This value indicates what the inner packet determined for the packet
4654 /* Not Known: Indicates that the packet type was not known. */
4657 * IP Packet: Indicates that the packet was an IP packet, but
4662 * TCP Packet: Indicates that the packet was IP and TCP. This
4667 * UDP Packet: Indicates that the packet was IP and UDP. This
4672 * FCoE Packet: Indicates that the packet was recognized as a
4678 * RoCE Packet: Indicates that the packet was recognized as a
4684 * ICMP Packet: Indicates that the packet was recognized as
4690 * PtP packet wo/timestamp: Indicates that the packet was
4691 * recognized as a PtP packet.
4695 * PtP packet w/timestamp: Indicates that the packet was
4696 * recognized as a PtP packet and that a timestamp was taken for
4697 * the packet.
4724 * packet. The itype indicates the packet type.
4729 * packet when this field is non-zero.
4735 * packet of the packet does not have a tunnel.
4749 * Indicates that the physical packet is shorter than that
4750 * claimed by the PPPoE header length for a tunnel PPPoE packet.
4754 * Indicates that physical packet is shorter than that claimed
4756 * tunnel packet packets.
4760 * Indicates that the physical packet is shorter than that
4762 * packet that is not fragmented.
4774 * packet when this field is non-zero.
4780 * packet of the packet does not have a tunnel.
4786 * VFT was parsed on FCoE packet.
4800 * Indicates that physical packet is shorter than that claimed
4801 * by the l3 header length. Valid for IPv4, IPv6 packet or RoCE
4806 * Indicates that the physical packet is shorter than that
4807 * claimed by the UDP header length for a UDP packet that is not
4827 * packet.
4837 * packet and that the ip_cs_error field indicates if there was an
4843 * the inner packet and that the l4_cs_error field indicates if there
4855 * packet and that the t_l4_cs_error field indicates if there was an
4876 * value is only valid if itype indicates a packet with an IP header.
4925 * This indicates that the packet was too long for the WQE
4954 * packet where the inner payload starts. This value is valid for TCP,
4968 * packet where the inner payload starts. This value is valid for TCP,
6334 * If 1, then control and configuration of WoL magic packet are
6339 * If 1, then control and configuration of bitmap pattern packet are
6580 * If 1, then magic packet based Out-Of-Box WoL is enabled on the port
6585 * If 1, then bitmap pattern based Out-Of-Box WoL packet is enabled on
7503 * for the packet has a bad format. # There were no BDs available in the
7504 * ring for the packet. # There were no BDs available on-chip for the
7505 * packet.
9610 * based on VLAN Tags of inner packet headers of tunneled packets or
9611 * packet headers of non-tunneled packets. # Each XXX_pri variable shall
9665 * whether one or two VLAN Tags are present in the inner packet headers
9674 * the inner packet headers
9679 * inner packet headers. No VLAN PRI shall be selected for this
9681 * packet headers.
9686 * in the inner packet headers
9703 * the tunnel packet headers
9708 * tunnel packet headers. No tunnel VLAN PRI shall be selected
9710 * tunnel packet headers.
9715 * in the tunnel packet headers
9752 * This is the configured maximum length of Ethernet packet payload that
9758 * This is the configured maximum length of Ethernet packet payload that
9845 * This is the configured maximum length of Ethernet packet payload that
9851 * This is the configured maximum length of Ethernet packet payload that
9958 * or two VLAN Tags are present in the inner packet headers of tunneled
9965 * the inner packet headers
9970 * inner packet headers. No VLAN PRI is selected for this
9972 * packet headers.
9977 * in the inner packet headers
9993 * the tunnel packet headers
9998 * tunnel packet headers. No VLAN PRI is selected for this
10000 * packet headers.
10005 * in the tunnel packet headers
12003 /* This value is a the estimate packet length used in the TX arbiter. */
12085 * This value is a the estimate packet length used in the TX arbiter.
12365 * PRI field in inner packet headers.
12521 * requested for VLAN PRI field in inner packet headers.
14820 * packet does not match any RSS rules and if there is no COS rule.
15160 * transparent packet aggregation (TPA) of non-tunneled TCP packets.
15165 * transparent packet aggregation (TPA) of tunneled TCP packets.
15170 * transparent packet aggregation (TPA) according to Windows Receive
15176 * transparent packet aggregation (TPA) according to Linux Generic
15182 * transparent packet aggregation (TPA) for TCP packets with IP ECN set
15188 * transparent packet aggregation (TPA) for GRE tunneled TCP packets
15194 * configured to perform transparent packet aggregation (TPA) for
15196 * the last packet that is being aggregated to an already existing
15198 * packet that was aggregated in that aggregation context.
15203 * configured to perform transparent packet aggregation (TPA) for TCP
15355 * packet aggregation (TPA) of non-tunneled TCP packets.
15360 * packet aggregation (TPA) of tunneled TCP packets.
15365 * packet aggregation (TPA) according to Windows Receive Segment
15371 * packet aggregation (TPA) according to Linux Generic Receive Offload
15377 * packet aggregation (TPA) for TCP packets with IP ECN set to non-zero.
15382 * packet aggregation (TPA) for GRE tunneled TCP packets only if all
15388 * configured to perform transparent packet aggregation (TPA) for
15390 * the last packet that is being aggregated to an already existing
15392 * packet that was aggregated in that aggregation context.
15397 * configured to perform transparent packet aggregation (TPA) for TCP
15717 * the packet is identified as TCP/IPv4, then the packet is split at the
15718 * beginning of the TCP payload. # If the packet is identified as
15719 * UDP/IPv4, then the packet is split at the beginning of UDP payload. #
15720 * If the packet is identified as non-TCP and non-UDP IPv4 packet, then
15721 * the packet is split at the beginning of the upper layer protocol
15722 * header carried in the IPv4 packet.
15728 * the packet is identified as TCP/IPv6, then the packet is split at the
15729 * beginning of the TCP payload. # If the packet is identified as
15730 * UDP/IPv6, then the packet is split at the beginning of UDP payload. #
15731 * If the packet is identified as non-TCP and non-UDP IPv6 packet, then
15732 * the packet is split at the beginning of the upper layer protocol
15733 * header carried in the IPv6 packet.
15771 * This value is used to determine the offset into packet buffer where
15773 * placement algorithm. The lengths of packet buffers provided for split
15919 * This value is used to determine the offset into packet buffer where
15921 * placement algorithm. The lengths of packet buffers provided for split
16877 * vnic or ring for a packet based on layer 2 fields. Layer 2 fields for
16879 * encapsulated packet. The L2 filter resource covers the following OS specific
17076 /* This value identifies the type of source of the packet. */
18131 * field shall not be used in matching packet header fields against this filter.
18573 * field, then that field shall not be used in matching packet header fields
18622 * Setting of this flag indicates enabling of a packet counter for a
20210 uint64_t packet;
20211 /* packet is 64 b */
22600 * identify a WoL packet. # Among all function drivers, the HWRM shall only
22673 * # If this field is enabled and magic packet WoL filter type is
22675 * in setting the magic packet based WoL filter. # If this field is not
22676 * enabled and magic packet WoL filter type is specified and port id is
22679 * client. # If this field is not enabled and magic packet WoL filter
22953 * The MAC address value used by the WoL filter. Applies to magic packet
23021 /* Physical address of the packet buffer for querying WoL packet. */
23023 /* The size of the buffer for the WoL packet. */
23047 * This value identifies the filter that matched the last WoL packet.
23063 /* The value identifies the length of the WoL packet in bytes. */
25182 /* RQ start packet sequence number change. */
25188 /* SQ start packet sequence number change. */
25308 /* RQ start packet sequence number. */
25310 /* SQ start packet sequence number. */
27428 /* RQ start packet sequence number. */
27430 /* SQ start packet sequence number. */