Class: Nl::Linux::Netdev::Messages::DumpQstatsGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Netdev::Messages::DumpQstatsGetReply
- Defined in:
- nl-linux/generated/nl/linux/netdev.rb
Overview
Get / dump fine grained statistics. Which statistics are reported depends on the device and the driver, and whether the driver stores software counters per-queue.
Constant Summary collapse
- TYPE =
12- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Qstats
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex queue_type queue_id rx_packets rx_bytes tx_packets tx_bytes rx_alloc_fail rx_hw_drops rx_hw_drop_overruns rx_csum_complete rx_csum_unnecessary rx_csum_none rx_csum_bad rx_hw_gro_packets rx_hw_gro_bytes rx_hw_gro_wire_packets rx_hw_gro_wire_bytes rx_hw_drop_ratelimits tx_hw_drops tx_hw_drop_errors tx_csum_none tx_needs_csum tx_hw_gso_packets tx_hw_gso_bytes tx_hw_gso_wire_packets tx_hw_gso_wire_bytes tx_hw_drop_ratelimits tx_stop tx_wake])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
ifindex of the netdevice to which stats belong.
-
#queue_id ⇒ Integer
Queue ID, if stats are scoped to a single queue instance.
-
#queue_type ⇒ Integer
Queue type as rx, tx, for queue-id.
-
#rx_alloc_fail ⇒ Integer
Number of times skb or buffer allocation failed on the Rx datapath.
-
#rx_bytes ⇒ Integer
Successfully received bytes, see
rx-packets. -
#rx_csum_bad ⇒ Integer
Number of packets with bad checksum.
-
#rx_csum_complete ⇒ Integer
Number of packets that were marked as CHECKSUM_COMPLETE.
-
#rx_csum_none ⇒ Integer
Number of packets that were not checksummed by device.
-
#rx_csum_unnecessary ⇒ Integer
Number of packets that were marked as CHECKSUM_UNNECESSARY.
-
#rx_hw_drop_overruns ⇒ Integer
Number of packets dropped due to transient lack of resources, such as buffer space, host descriptors etc.
-
#rx_hw_drop_ratelimits ⇒ Integer
Number of the packets dropped by the device due to the received packets bitrate exceeding the device rate limit.
-
#rx_hw_drops ⇒ Integer
Number of all packets which entered the device, but never left it, including but not limited to: packets dropped due to lack of buffer space, processing errors, explicit or implicit policies and packet filters.
-
#rx_hw_gro_bytes ⇒ Integer
See
rx-hw-gro-packets. -
#rx_hw_gro_packets ⇒ Integer
Number of packets that were coalesced from smaller packets by the device.
-
#rx_hw_gro_wire_bytes ⇒ Integer
See
rx-hw-gro-wire-packets. -
#rx_hw_gro_wire_packets ⇒ Integer
Number of packets that were coalesced to bigger packetss with the HW-GRO netdevice feature.
-
#rx_packets ⇒ Integer
Number of wire packets successfully received and passed to the stack.
-
#tx_bytes ⇒ Integer
Successfully sent bytes, see
tx-packets. -
#tx_csum_none ⇒ Integer
Number of packets that did not require the device to calculate the checksum.
-
#tx_hw_drop_errors ⇒ Integer
Number of packets dropped because they were invalid or malformed.
-
#tx_hw_drop_ratelimits ⇒ Integer
Number of the packets dropped by the device due to the transmit packets bitrate exceeding the device rate limit.
-
#tx_hw_drops ⇒ Integer
Number of packets that arrived at the device but never left it, encompassing packets dropped for reasons such as processing errors, as well as those affected by explicitly defined policies and packet filtering criteria.
-
#tx_hw_gso_bytes ⇒ Integer
See
tx-hw-gso-packets. -
#tx_hw_gso_packets ⇒ Integer
Number of packets that necessitated segmentation into smaller packets by the device.
-
#tx_hw_gso_wire_bytes ⇒ Integer
See
tx-hw-gso-wire-packets. -
#tx_hw_gso_wire_packets ⇒ Integer
Number of wire-sized packets generated by processing
tx-hw-gso-packets. -
#tx_needs_csum ⇒ Integer
Number of packets that required the device to calculate the checksum.
-
#tx_packets ⇒ Integer
Number of wire packets successfully sent.
-
#tx_stop ⇒ Integer
Number of times driver paused accepting new tx packets from the stack to this queue, because the queue was full.
-
#tx_wake ⇒ Integer
Number of times driver re-started accepting send requests to this queue from the stack.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#ifindex ⇒ Integer
ifindex of the netdevice to which stats belong.
2358 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2358 def ifindex; attributes[:"ifindex"]&.value; end |
#queue_id ⇒ Integer
Queue ID, if stats are scoped to a single queue instance.
2370 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2370 def queue_id; attributes[:"queue_id"]&.value; end |
#queue_type ⇒ Integer
Queue type as rx, tx, for queue-id.
Known enum values are defined in Enums::QueueType.
2365 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2365 def queue_type; attributes[:"queue_type"]&.value; end |
#rx_alloc_fail ⇒ Integer
Number of times skb or buffer allocation failed on the Rx datapath. Allocation failure may, or may not result in a packet drop, depending on driver implementation and whether system recovers quickly.
2401 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2401 def rx_alloc_fail; attributes[:"rx_alloc_fail"]&.value; end |
#rx_bytes ⇒ Integer
Successfully received bytes, see rx-packets.
2382 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2382 def rx_bytes; attributes[:"rx_bytes"]&.value; end |
#rx_csum_bad ⇒ Integer
Number of packets with bad checksum. The packets are not discarded, but still delivered to the stack.
2436 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2436 def rx_csum_bad; attributes[:"rx_csum_bad"]&.value; end |
#rx_csum_complete ⇒ Integer
Number of packets that were marked as CHECKSUM_COMPLETE.
2420 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2420 def rx_csum_complete; attributes[:"rx_csum_complete"]&.value; end |
#rx_csum_none ⇒ Integer
Number of packets that were not checksummed by device.
2430 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2430 def rx_csum_none; attributes[:"rx_csum_none"]&.value; end |
#rx_csum_unnecessary ⇒ Integer
Number of packets that were marked as CHECKSUM_UNNECESSARY.
2425 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2425 def rx_csum_unnecessary; attributes[:"rx_csum_unnecessary"]&.value; end |
#rx_hw_drop_overruns ⇒ Integer
Number of packets dropped due to transient lack of resources, such as buffer space, host descriptors etc.
2415 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2415 def rx_hw_drop_overruns; attributes[:"rx_hw_drop_overruns"]&.value; end |
#rx_hw_drop_ratelimits ⇒ Integer
Number of the packets dropped by the device due to the received packets bitrate exceeding the device rate limit.
2465 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2465 def rx_hw_drop_ratelimits; attributes[:"rx_hw_drop_ratelimits"]&.value; end |
#rx_hw_drops ⇒ Integer
Number of all packets which entered the device, but never left it, including but not limited to: packets dropped due to lack of buffer space, processing errors, explicit or implicit policies and packet filters.
2409 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2409 def rx_hw_drops; attributes[:"rx_hw_drops"]&.value; end |
#rx_hw_gro_bytes ⇒ Integer
See rx-hw-gro-packets.
2448 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2448 def rx_hw_gro_bytes; attributes[:"rx_hw_gro_bytes"]&.value; end |
#rx_hw_gro_packets ⇒ Integer
Number of packets that were coalesced from smaller packets by the device. Counts only packets coalesced with the HW-GRO netdevice feature, LRO-coalesced packets are not counted.
2443 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2443 def rx_hw_gro_packets; attributes[:"rx_hw_gro_packets"]&.value; end |
#rx_hw_gro_wire_bytes ⇒ Integer
See rx-hw-gro-wire-packets.
2459 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2459 def rx_hw_gro_wire_bytes; attributes[:"rx_hw_gro_wire_bytes"]&.value; end |
#rx_hw_gro_wire_packets ⇒ Integer
Number of packets that were coalesced to bigger packetss with the HW-GRO netdevice feature. LRO-coalesced packets are not counted.
2454 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2454 def rx_hw_gro_wire_packets; attributes[:"rx_hw_gro_wire_packets"]&.value; end |
#rx_packets ⇒ Integer
Number of wire packets successfully received and passed to the stack. For drivers supporting XDP, XDP is considered the first layer of the stack, so packets consumed by XDP are still counted here.
2377 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2377 def rx_packets; attributes[:"rx_packets"]&.value; end |
#tx_bytes ⇒ Integer
Successfully sent bytes, see tx-packets.
2394 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2394 def tx_bytes; attributes[:"tx_bytes"]&.value; end |
#tx_csum_none ⇒ Integer
Number of packets that did not require the device to calculate the checksum.
2484 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2484 def tx_csum_none; attributes[:"tx_csum_none"]&.value; end |
#tx_hw_drop_errors ⇒ Integer
Number of packets dropped because they were invalid or malformed.
2478 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2478 def tx_hw_drop_errors; attributes[:"tx_hw_drop_errors"]&.value; end |
#tx_hw_drop_ratelimits ⇒ Integer
Number of the packets dropped by the device due to the transmit packets bitrate exceeding the device rate limit.
2519 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2519 def tx_hw_drop_ratelimits; attributes[:"tx_hw_drop_ratelimits"]&.value; end |
#tx_hw_drops ⇒ Integer
Number of packets that arrived at the device but never left it, encompassing packets dropped for reasons such as processing errors, as well as those affected by explicitly defined policies and packet filtering criteria.
2473 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2473 def tx_hw_drops; attributes[:"tx_hw_drops"]&.value; end |
#tx_hw_gso_bytes ⇒ Integer
See tx-hw-gso-packets.
2502 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2502 def tx_hw_gso_bytes; attributes[:"tx_hw_gso_bytes"]&.value; end |
#tx_hw_gso_packets ⇒ Integer
Number of packets that necessitated segmentation into smaller packets by the device.
2497 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2497 def tx_hw_gso_packets; attributes[:"tx_hw_gso_packets"]&.value; end |
#tx_hw_gso_wire_bytes ⇒ Integer
See tx-hw-gso-wire-packets.
2513 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2513 def tx_hw_gso_wire_bytes; attributes[:"tx_hw_gso_wire_bytes"]&.value; end |
#tx_hw_gso_wire_packets ⇒ Integer
Number of wire-sized packets generated by processing
tx-hw-gso-packets
2508 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2508 def tx_hw_gso_wire_packets; attributes[:"tx_hw_gso_wire_packets"]&.value; end |
#tx_needs_csum ⇒ Integer
Number of packets that required the device to calculate the checksum. This counter includes the number of GSO wire packets for which device calculated the L4 checksum.
2491 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2491 def tx_needs_csum; attributes[:"tx_needs_csum"]&.value; end |
#tx_packets ⇒ Integer
Number of wire packets successfully sent. Packet is considered to be successfully sent once it is in device memory (usually this means the device has issued a DMA completion for the packet).
2389 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2389 def tx_packets; attributes[:"tx_packets"]&.value; end |
#tx_stop ⇒ Integer
Number of times driver paused accepting new tx packets from the stack to this queue, because the queue was full. Note that if BQL is supported and enabled on the device the networking stack will avoid queuing a lot of data at once.
2527 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2527 def tx_stop; attributes[:"tx_stop"]&.value; end |
#tx_wake ⇒ Integer
Number of times driver re-started accepting send requests to this queue from the stack.
2533 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2533 def tx_wake; attributes[:"tx_wake"]&.value; end |