Skip to content

Instantly share code, notes, and snippets.

@qosmio
Created May 6, 2025 23:30
Show Gist options
  • Save qosmio/faf0f439f5c71d707b9ca6614aabb676 to your computer and use it in GitHub Desktop.
Save qosmio/faf0f439f5c71d707b9ca6614aabb676 to your computer and use it in GitHub Desktop.
➤ nss_stats drv n2h ipv4 ipv6 eth_rx edma
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< DRV >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
drv_tx_buffers_empty = 3573630 special
drv_tx_buffer_pkt = 38673050 special
drv_tx_buffers_cmd = 14996329 special
drv_tx_buffers_reuse = 20203889 special
drv_rx_buffers_empty = 33518753 special
drv_rx_buffers_pkt = 25162799 special
drv_rx_buffers_ext_pkt = 187 special
drv_rx_buffers_status_sync = 431940889 special
drv_tx_skb_simple = 32921534 special
drv_tx_skb_nr_frags = 500397 special
drv_tx_skb_fraglist = 43562 special
drv_rx_skb_simple = 457103876 special
drv_nss_skb_count = 14811 special
drv_tx_buffers_data_queue[0] = 18188399 special
drv_tx_buffers_data_queue[1] = 91485 special
drv_tx_buffers_data_queue[2] = 6895152 special
drv_tx_buffers_data_queue[3] = 126188 special
drv_tx_buffers_data_queue[4] = 5185789 special
drv_tx_buffers_data_queue[5] = 30155 special
drv_tx_buffers_data_queue[6] = 8072816 special
drv_tx_buffers_data_queue[7] = 80422 special
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< N2H 0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
n2h_rx_pkts = 295371687 common
n2h_rx_byts = 133691517847 common
n2h_tx_pkts = 53669344 common
n2h_tx_byts = 89635297800 common
n2h_rx_queue[0]_drops = 97614 drop
n2h_pbuf_ocm_total_count = 1736 special
n2h_pbuf_ocm_free_count = 1524 special
n2h_pbuf_ocm_alloc_fail_payload = 16869 special
n2h_pbuf_ocm_alloc_fail_nopayload = 157507 special
n2h_pbuf_def_total_count = 71034 special
n2h_pbuf_def_free_count = 61916 special
n2h_pbuf_def_alloc_fail_payload = 12226 special
n2h_payload_alloc_fails = 12227 special
n2h_payload_free_count = 4462 special
n2h_h2n_control_pkts = 14996294 special
n2h_h2n_control_byts = 59987399360 special
n2h_n2h_control_pkts = 270206053 special
n2h_n2h_control_byts = 110449126786 special
n2h_h2n_data_pkts = 38673050 special
n2h_h2n_data_byts = 29647898440 special
n2h_n2h_data_pkts = 25165634 special
n2h_n2h_data_byts = 23242391061 special
n2h_n2h_tot_payloads = 13792 special
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< N2H 1 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
n2h_rx_pkts = 161734797 common
n2h_rx_byts = 15526631076 common
n2h_tx_pkts = 33 common
n2h_tx_byts = 65472 common
n2h_pbuf_ocm_total_count = 1536 special
n2h_pbuf_ocm_free_count = 1536 special
n2h_pbuf_def_total_count = 512 special
n2h_pbuf_def_free_count = 511 special
n2h_pbuf_def_alloc_fail_payload = 3 special
n2h_payload_alloc_fails = 3 special
n2h_payload_free_count = 1056 special
n2h_h2n_control_pkts = 33 special
n2h_h2n_control_byts = 65472 special
n2h_n2h_control_pkts = 161734797 special
n2h_n2h_control_byts = 15526631076 special
n2h_n2h_tot_payloads = 1057 special
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< IPV4 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
ipv4_rx_pkts = 77008110 common
ipv4_rx_byts = 74586052175 common
ipv4_tx_pkts = 55216337 common
ipv4_tx_byts = 53135923865 common
#ipv4 special stats
ipv4_rx_pkts = 89590834 special
ipv4_rx_bytes = 84596322823 special
ipv4_tx_pkts = 89590834 special
ipv4_tx_bytes = 85369351429 special
ipv4_create_requests = 395652 special
ipv4_destroy_requests = 188478 special
ipv4_destroy_misses = 2 special
ipv4_hash_hits = 55245935 special
ipv4_hash_reorders = 177075 special
ipv4_flushes = 206620 special
#ipv4 exception stats
ipv4_icmp_unhandled_type = 162187 exception
ipv4_icmp_ipv4_tcp_header_incomplete = 630 exception
ipv4_icmp_no_icme = 87389 exception
ipv4_icmp_flush_to_host = 2364 exception
ipv4_tcp_no_icme = 3411100 exception
ipv4_tcp_flags = 204259 exception
ipv4_udp_no_icme = 17898815 exception
ipv4_non_initial_fragment = 167 exception
ipv4_unknown_protocol = 24855 exception
ipv4_6rd_no_icme = 1 exception
ipv4_gre_no_icme = 6 exception
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< IPV6 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
ipv6_rx_pkts = 16025920 common
ipv6_rx_byts = 15028905422 common
ipv6_tx_pkts = 13069878 common
ipv6_tx_byts = 14428531158 common
#ipv6 node stats
ipv6_rx_pkts = 40526962 special
ipv6_rx_bytes = 45544716681 special
ipv6_tx_pkts = 40526962 special
ipv6_tx_bytes = 45727694973 special
ipv6_create_requests = 36691 special
ipv6_destroy_requests = 8418 special
ipv6_hash_hits = 13097952 special
ipv6_hash_reorders = 174 special
ipv6_flushes = 28233 special
#ipv6 exception stats
ipv6_icmp_unhandled_type = 123021 exception
ipv6_icmp_unknown_protocol = 328 exception
ipv6_icmp_no_icme = 11839 exception
ipv6_icmp_flush_to_host = 5576 exception
ipv6_tcp_no_icme = 1034455 exception
ipv6_tcp_flags = 22657 exception
ipv6_udp_no_icme = 1390725 exception
ipv6_unknown_protocol = 366709 exception
ipv6_esp_no_icme = 66 exception
ipv6_reassembly_not_supported = 666 exception
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ETH_RX >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
eth_rx_rx_pkts = 93031242 common
eth_rx_rx_byts = 90916963747 common
eth_rx_tx_pkts = 93031242 common
eth_rx_tx_byts = 90916963747 common
#eth_rx node stats
#eth_rx exception stats
eth_rx_unknown_l3_protocol = 512584 exception
edma Rx fill ring stats start:
Rx fill ring 2 stats:
edma_rx_fill_ring_desc_cnt = 256 special
edma Rx fill ring stats start:
Rx fill ring 0 stats:
edma_rx_fill_ring_desc_cnt = 53625672 special
edma Tx cmpl ring stats start:
Tx cmpl ring 0 stats:
edma_tx_cmpl_ring[0]_desc_cnt = 62216148 special
edma Tx cmpl ring stats end
edma_rx_ring[1]_desc_cnt = 424773 special
edma_rx_ring[0]_desc_cnt = 53200619 special
edma Tx ring stats start:
Tx ring 7 stats:
edma_tx_ring[7]_desc_cnt = 6299123 special
edma Tx ring stats start:
Tx ring 5 stats:
edma_tx_ring[5]_desc_cnt = 52468148 special
edma Tx ring stats start:
Tx ring 4 stats:
edma_tx_ring[4]_desc_cnt = 3448596 special
edma error stats start:
edma_err_alloc_fail_cnt = 350 error
edma port ring map start:
edma port 7 ring map:
edma_port_ring[7]_tx_ring = 7 special
edma port ring map start:
edma port 6 ring map:
edma_port_ring[6]_tx_ring = 6 special
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< EDMA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
edma port 6 stats:
edma_port[6]_rx_pkts = 5918663 common
edma_port[6]_rx_byts = 4024882890 common
edma_port[6]_tx_pkts = 20573336 common
edma_port[6]_tx_byts = 26089816518 common
edma_port[6]_rx_queue[0]_drops = 1361 drop
edma port ring map start:
edma port 5 ring map:
edma_port_ring[5]_tx_ring = 5 special
edma port ring map start:
edma port 4 ring map:
edma_port_ring[4]_tx_ring = 4 special
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< EDMA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
edma port 4 stats:
edma_port[4]_rx_pkts = 52181860 common
edma_port[4]_rx_byts = 65629205660 common
edma_port[4]_tx_pkts = 32967891 common
edma_port[4]_tx_byts = 15480887551 common
edma port ring map start:
edma port 3 ring map:
edma_port_ring[3]_tx_ring = 3 special
________________________________________________________________________________
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< EDMA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________________________________________________________________________________
edma port 3 stats:
edma_port[3]_rx_pkts = 3448390 common
edma_port[3]_rx_byts = 1306505819 common
edma_port[3]_tx_pkts = 75668 common
edma_port[3]_tx_byts = 24976151 common
edma port ring map start:
edma port 2 ring map:
edma_port_ring[2]_tx_ring = 2 special
edma port ring map start:
edma port 1 ring map:
edma_port_ring[1]_tx_ring = 1 special
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment