NVIDIA DRIVE OS Linux SDK API Reference

6.0.8 Release
nvethernetrm_export.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20  * DEALINGS IN THE SOFTWARE.
21  */
22 
23 #ifndef INCLUDED_NVETHERNETRM_EXPORT_H
24 #define INCLUDED_NVETHERNETRM_EXPORT_H
25 
26 #include <nvethernet_type.h>
27 
34 #define OSI_GCL_SIZE_256 256U
35 #define OSI_MAX_TC_NUM 8U
36 /* Ethernet Address length */
37 #define OSI_ETH_ALEN 6U
38 
46 /* Match data defines */
47 #define OSI_FRP_MATCH_DATA_MAX 12U
48 
56 #define OSI_MTL_QUEUE_AVB 0x1U
57 #define OSI_MTL_QUEUE_ENABLE 0x2U
58 #define OSI_MTL_QUEUE_MODEMAX 0x3U
59 #ifndef OSI_STRIPPED_LIB
60 #define OSI_MTL_MAX_NUM_QUEUES 10U
61 #endif
62 
70 #define OSI_MTL_TXQ_AVALG_CBS 1U
71 #define OSI_MTL_TXQ_AVALG_SP 0U
72 
74 #ifndef OSI_STRIPPED_LIB
75 
81 /* L2 DA filter mode(enable/disable) */
82 #define OSI_OPER_EN_L2_DA_INV OSI_BIT(4)
83 #define OSI_OPER_DIS_L2_DA_INV OSI_BIT(5)
84 #endif /* !OSI_STRIPPED_LIB */
85 
86 /* Ethernet Address length */
87 #define OSI_ETH_ALEN 6U
88 #define OSI_MAX_TC_NUM 8U
89 
91 #pragma pack(push, 1)
92 
118 };
119 
159 };
160 
187 };
188 
201 };
202 
206 struct osi_stats {
221 #ifndef OSI_STRIPPED_LIB
222 
246 #endif
247 };
248 
581  /* Protocols */
708  /* Protocols */
772 };
773 
774 #pragma pack(pop)
775 #endif /* INCLUDED_NVETHERNETRM_EXPORT_H */
osi_stats::fatal_bus_error_irq_n
nveu64_t fatal_bus_error_irq_n
Fatal Bus Error irq count.
Definition: nvethernetrm_export.h:241
osi_stats::tx_buf_unavail_irq_n
nveu64_t tx_buf_unavail_irq_n[OSI_MTL_MAX_NUM_QUEUES]
Transmit Buffer Unavailable irq count.
Definition: nvethernetrm_export.h:235
osi_mmc_counters::mmc_rx_512_to_1023_octets_gb
nveu64_t mmc_rx_512_to_1023_octets_gb
This counter provides the number of good and bad packets received with length 512-1023 bytes,...
Definition: nvethernetrm_export.h:465
osi_mmc_counters::mmc_tx_vlan_frame_g_h
nveu64_t mmc_tx_vlan_frame_g_h
This counter provides upper 32 bytes of good VLAN packets transmitted.
Definition: nvethernetrm_export.h:383
osi_mmc_counters::mmc_rx_tcp_err
nveu64_t mmc_rx_tcp_err
This counter provides upper 32 bytes of good IP datagrams received with a good TCP payload.
Definition: nvethernetrm_export.h:606
osi_mmc_counters::mmc_tx_fpe_frag_cnt
nveu64_t mmc_tx_fpe_frag_cnt
This counter provides the number of additional mPackets transmitted due to preemption.
Definition: nvethernetrm_export.h:753
osi_fpe_config::tx_queue_preemption_enable
nveu32_t tx_queue_preemption_enable
Queue Mask 1 - preemption 0 - express bit representation.
Definition: nvethernetrm_export.h:195
osi_mmc_counters::mmc_rx_icmp_gd_octets
nveu64_t mmc_rx_icmp_gd_octets
This counter provides the number of bytes received in a good ICMP segment.
Definition: nvethernetrm_export.h:739
osi_core_frp_cmd::match_type
nveu8_t match_type
OSD match data type.
Definition: nvethernetrm_export.h:101
osi_mmc_counters::mmc_tx_framecount_gb
nveu64_t mmc_tx_framecount_gb
This counter provides the number of good and bad packets transmitted, exclusive of retried packets.
Definition: nvethernetrm_export.h:260
osi_mmc_counters::mmc_tx_framecount_gb_h
nveu64_t mmc_tx_framecount_gb_h
This counter provides upper 32 bits of transmitted good and bad packets count.
Definition: nvethernetrm_export.h:263
osi_core_avb_algorithm::oper_mode
nveu32_t oper_mode
Transmit queue operating mode.
Definition: nvethernetrm_export.h:155
osi_mmc_counters::mmc_tx_lpi_tran_cntr
nveu64_t mmc_tx_lpi_tran_cntr
This counter provides the number of times MAC controller has entered Tx LPI.
Definition: nvethernetrm_export.h:528
osi_mmc_counters::mmc_rx_multicastframe_g
nveu64_t mmc_rx_multicastframe_g
This counter provides the number of good multicast packets received.
Definition: nvethernetrm_export.h:413
osi_mmc_counters::mmc_rx_packet_asm_ok_cnt
nveu64_t mmc_rx_packet_asm_ok_cnt
This counter provides the number of MAC frames that were successfully reassembled and delivered to MA...
Definition: nvethernetrm_export.h:768
osi_mmc_counters::mmc_rx_tcp_gd_h
nveu64_t mmc_rx_tcp_gd_h
This counter provides the number of good IP datagrams received with a good TCP payload.
Definition: nvethernetrm_export.h:603
osi_mmc_counters::mmc_rx_ipv4_gd_octets_h
nveu64_t mmc_rx_ipv4_gd_octets_h
This counter provides upper 32 bytes received by DWC_ether_qos in good IPv4 datagrams encapsulating T...
Definition: nvethernetrm_export.h:631
osi_stats::ts_lock_del_fail
nveu64_t ts_lock_del_fail
lock fail count node removal
Definition: nvethernetrm_export.h:245
osi_mmc_counters::mmc_rx_1024_to_max_octets_gb
nveu64_t mmc_rx_1024_to_max_octets_gb
This counter provides the number of good and bad packets received with length 1024-maxbytes,...
Definition: nvethernetrm_export.h:471
osi_core_frp_cmd::offset
nveu8_t offset
OSD Offset.
Definition: nvethernetrm_export.h:107
osi_mmc_counters::mmc_rx_multicastframe_g_h
nveu64_t mmc_rx_multicastframe_g_h
This counter provides upper 32 bytes of good multicast packets received.
Definition: nvethernetrm_export.h:416
osi_mmc_counters::mmc_tx_unicast_gb_h
nveu64_t mmc_tx_unicast_gb_h
This counter provides upper 32 bits of transmitted good bad unicast packets count.
Definition: nvethernetrm_export.h:322
osi_mmc_counters::mmc_rx_unicast_g_h
nveu64_t mmc_rx_unicast_g_h
This counter provides upper 32 bytes of good unicast packets received.
Definition: nvethernetrm_export.h:479
osi_mmc_counters::mmc_rx_receive_error
nveu64_t mmc_rx_receive_error
This counter provides the number of packets received with Receive error or Packet Extension error on ...
Definition: nvethernetrm_export.h:519
osi_mmc_counters::mmc_rx_icmp_err_octets
nveu64_t mmc_rx_icmp_err_octets
This counter provides the number of bytes received in a ICMP segment that had checksum errors.
Definition: nvethernetrm_export.h:746
osi_mmc_counters::mmc_rx_oversize_g
nveu64_t mmc_rx_oversize_g
This counter provides the number of packets received without error, with length greater than the maxs...
Definition: nvethernetrm_export.h:438
osi_mmc_counters::mmc_tx_65_to_127_octets_gb
nveu64_t mmc_tx_65_to_127_octets_gb
This counter provides the number of good and bad packets transmitted with length 65-127 bytes,...
Definition: nvethernetrm_export.h:286
osi_mmc_counters::mmc_tx_broadcast_gb
nveu64_t mmc_tx_broadcast_gb
This counter provides the number of good and bad broadcast packets.
Definition: nvethernetrm_export.h:331
osi_mmc_counters::mmc_rx_ipv4_udsbl_octets_h
nveu64_t mmc_rx_ipv4_udsbl_octets_h
This counter provides upper 32 bytes received in a UDP segment that had the UDP checksum disabled.
Definition: nvethernetrm_export.h:675
osi_mmc_counters::mmc_tx_octetcount_gb_h
nveu64_t mmc_tx_octetcount_gb_h
This counter provides upper 32 bits of transmitted octet count.
Definition: nvethernetrm_export.h:257
osi_mmc_counters::mmc_rx_udp_gd
nveu64_t mmc_rx_udp_gd
This counter provides the number of good IP datagrams received by DWC_ether_qos with a good UDP paylo...
Definition: nvethernetrm_export.h:584
osi_stats::head_of_line_blk_frm
nveu64_t head_of_line_blk_frm
Head-Of-Line Blocking due to Frame Size.
Definition: nvethernetrm_export.h:214
osi_mmc_counters::mmc_tx_multicast_gb_h
nveu64_t mmc_tx_multicast_gb_h
This counter provides upper 32 bits of transmitted good bad multicast packets count.
Definition: nvethernetrm_export.h:328
osi_mmc_counters::mmc_rx_packet_reass_err_cnt
nveu64_t mmc_rx_packet_reass_err_cnt
This counter provides the number of MAC frames with reassembly errors on the Receiver,...
Definition: nvethernetrm_export.h:760
osi_mmc_counters::mmc_rx_ipv6_gd_octets_h
nveu64_t mmc_rx_ipv6_gd_octets_h
This counter provides upper 32 bytes of good IPv6 datagrams received with the TCP,...
Definition: nvethernetrm_export.h:568
osi_core_avb_algorithm::hi_credit
nveu32_t hi_credit
hiCredit value required for CBS Max value - 0x1FFFFFFFU
Definition: nvethernetrm_export.h:144
osi_mmc_counters::mmc_rx_vlan_frames_gb
nveu64_t mmc_rx_vlan_frames_gb
This counter provides the number of good and bad VLAN packets received.
Definition: nvethernetrm_export.h:510
osi_mmc_counters::mmc_rx_ipv4_gd_h
nveu64_t mmc_rx_ipv4_gd_h
This counter provides upper 32 bytes of good IPv4 datagrams received with the TCP,...
Definition: nvethernetrm_export.h:540
osi_est_config::llr
nveu32_t llr
size of the gate control list Max 256 entries valid value range (1-255)
Definition: nvethernetrm_export.h:183
osi_mmc_counters::mmc_rx_ipv4_gd
nveu64_t mmc_rx_ipv4_gd
This counter provides the number of good IPv4 datagrams received with the TCP, UDP,...
Definition: nvethernetrm_export.h:537
osi_mmc_counters::mmc_tx_deferred
nveu64_t mmc_tx_deferred
This counter provides the number of successfully transmitted after a deferral in the half-duplex mode...
Definition: nvethernetrm_export.h:349
osi_mmc_counters::mmc_rx_128_to_255_octets_gb_h
nveu64_t mmc_rx_128_to_255_octets_gb_h
This counter provides upper 32 bytes of good and bad packets received with length 128-255 bytes,...
Definition: nvethernetrm_export.h:456
osi_stats::ts_lock_add_fail
nveu64_t ts_lock_add_fail
lock fail count node addition
Definition: nvethernetrm_export.h:243
osi_mmc_counters::mmc_tx_128_to_255_octets_gb_h
nveu64_t mmc_tx_128_to_255_octets_gb_h
This counter provides upper 32 bits of transmitted 128-to-255 octet size good and bad packets count.
Definition: nvethernetrm_export.h:296
osi_stats
OSI Core error stats structure.
Definition: nvethernetrm_export.h:206
osi_stats::base_time_reg_err
nveu64_t base_time_reg_err
BTR Error.
Definition: nvethernetrm_export.h:218
osi_stats::const_gate_ctr_err
nveu64_t const_gate_ctr_err
Constant Gate Control Error.
Definition: nvethernetrm_export.h:208
osi_est_config::btr_offset
nveu32_t btr_offset[2]
64 bit base time offset index 0 for nsec, index 1 for sec 32 bits for Seconds, 32 bits for nanosecond...
Definition: nvethernetrm_export.h:174
osi_mmc_counters::mmc_tx_carrier_error
nveu64_t mmc_tx_carrier_error
This counter provides the number of packets aborted because of carrier sense error (no carrier or los...
Definition: nvethernetrm_export.h:358
osi_mmc_counters::mmc_rx_ipv4_hderr_octets_h
nveu64_t mmc_rx_ipv4_hderr_octets_h
This counter provides upper 32 bytes received in IPv4 datagram with header errors (checksum,...
Definition: nvethernetrm_export.h:643
osi_mmc_counters::mmc_rx_udp_err_octets
nveu64_t mmc_rx_udp_err_octets
This counter provides the number of bytes received in a UDP segment that had checksum errors.
Definition: nvethernetrm_export.h:718
osi_mmc_counters::mmc_rx_64_octets_gb_h
nveu64_t mmc_rx_64_octets_gb_h
This counter provides upper 32 bytes of good and bad packets received with length 64 bytes,...
Definition: nvethernetrm_export.h:444
osi_core_avb_algorithm
OSI Core avb data structure per queue.
Definition: nvethernetrm_export.h:123
osi_mmc_counters::mmc_rx_icmp_err_h
nveu64_t mmc_rx_icmp_err_h
This counter provides upper 32 bytes of good IP datagrams received whose ICMP payload has a checksum ...
Definition: nvethernetrm_export.h:621
osi_mmc_counters::mmc_rx_octetcount_g
nveu64_t mmc_rx_octetcount_g
This counter provides the number of bytes received by DWC_ether_qos, exclusive of preamble,...
Definition: nvethernetrm_export.h:401
nveu64_t
my_uint64_t nveu64_t
typedef equivalent to long long
Definition: nvethernet_type.h:63
osi_mmc_counters::mmc_rx_ipv4_frag_h
nveu64_t mmc_rx_ipv4_frag_h
This counter provides upper 32 bytes of good IPv4 datagrams received with fragmentation.
Definition: nvethernetrm_export.h:556
osi_est_config::gcl
nveu32_t gcl[OSI_GCL_SIZE_256]
data array 8 bit gate op + 24 execution time MGBE HW support GCL depth 256
Definition: nvethernetrm_export.h:186
osi_mmc_counters::mmc_rx_icmp_err
nveu64_t mmc_rx_icmp_err
This counter provides the number of good IP datagrams received whose ICMP payload has a checksum erro...
Definition: nvethernetrm_export.h:618
osi_mmc_counters::mmc_rx_broadcastframe_g_h
nveu64_t mmc_rx_broadcastframe_g_h
This counter provides upper 32 bytes of good broadcast packets received.
Definition: nvethernetrm_export.h:410
osi_mmc_counters::mmc_rx_vlan_frames_gb_h
nveu64_t mmc_rx_vlan_frames_gb_h
This counter provides upper 32 bytes of good and bad VLAN packets received.
Definition: nvethernetrm_export.h:513
osi_stats::rx_buf_unavail_irq_n
nveu64_t rx_buf_unavail_irq_n[OSI_MTL_MAX_NUM_QUEUES]
RX buffer unavailable irq count.
Definition: nvethernetrm_export.h:231
osi_mmc_counters::mmc_rx_ipv4_frag
nveu64_t mmc_rx_ipv4_frag
This counter provides the number of good IPv4 datagrams received with fragmentation.
Definition: nvethernetrm_export.h:553
osi_mmc_counters::mmc_tx_underflow_error
nveu64_t mmc_tx_underflow_error
This counter provides the number of abort packets due to underflow error.
Definition: nvethernetrm_export.h:337
osi_mmc_counters::mmc_rx_icmp_gd_h
nveu64_t mmc_rx_icmp_gd_h
This counter provides upper 32 bytes of good IP datagrams received with a good ICMP payload.
Definition: nvethernetrm_export.h:615
osi_mmc_counters::mmc_rx_65_to_127_octets_gb
nveu64_t mmc_rx_65_to_127_octets_gb
This counter provides the number of good and bad packets received with length 65-127 bytes,...
Definition: nvethernetrm_export.h:447
osi_mmc_counters::mmc_rx_ctrl_frames_g
nveu64_t mmc_rx_ctrl_frames_g
This counter provides the number of packets received with Receive error or Packet Extension error on ...
Definition: nvethernetrm_export.h:522
osi_stats::hlbs_q
nveu64_t hlbs_q[OSI_MAX_TC_NUM]
Per TC Schedule Error.
Definition: nvethernetrm_export.h:212
osi_mmc_counters::mmc_tx_lpi_usec_cntr
nveu64_t mmc_tx_lpi_usec_cntr
This counter provides the number of microseconds Tx LPI is asserted in the MAC controller.
Definition: nvethernetrm_export.h:525
OSI_MTL_MAX_NUM_QUEUES
#define OSI_MTL_MAX_NUM_QUEUES
Definition: nvethernetrm_export.h:60
osi_stats::hlbf_q
nveu64_t hlbf_q[OSI_MAX_TC_NUM]
Per TC Frame Size Error.
Definition: nvethernetrm_export.h:216
osi_stats::mgbe_payload_cs_err
nveu64_t mgbe_payload_cs_err
Payload Checksum Error.
Definition: nvethernetrm_export.h:227
osi_mmc_counters::mmc_rx_65_to_127_octets_gb_h
nveu64_t mmc_rx_65_to_127_octets_gb_h
This counter provides upper 32 bytes of good and bad packets received with length 65-127 bytes,...
Definition: nvethernetrm_export.h:450
osi_mmc_counters::mmc_tx_128_to_255_octets_gb
nveu64_t mmc_tx_128_to_255_octets_gb
This counter provides the number of good and bad packets transmitted with length 128-255 bytes,...
Definition: nvethernetrm_export.h:293
osi_mmc_counters::mmc_tx_vlan_frame_g
nveu64_t mmc_tx_vlan_frame_g
This counter provides the number of good VLAN packets transmitted.
Definition: nvethernetrm_export.h:380
osi_mmc_counters::mmc_rx_tcp_gd_octets
nveu64_t mmc_rx_tcp_gd_octets
This counter provides the number of bytes received in a good TCP segment.
Definition: nvethernetrm_export.h:725
osi_mmc_counters::mmc_rx_ipv6_hderr_h
nveu64_t mmc_rx_ipv6_hderr_h
This counter provides upper 32 bytes received in IPv6 datagrams with header errors (length,...
Definition: nvethernetrm_export.h:695
osi_mmc_counters::mmc_tx_osize_frame_g
nveu64_t mmc_tx_osize_frame_g
This counter provides the number of packets transmitted without errors and with length greater than t...
Definition: nvethernetrm_export.h:387
osi_core_frp_cmd::dma_sel
nveu32_t dma_sel
OSD DMA Channel Selection Bit selection of DMA channels to route the frame Bit[0] - DMA channel 0
Definition: nvethernetrm_export.h:117
osi_mmc_counters::mmc_tx_multicastframe_g
nveu64_t mmc_tx_multicastframe_g
This counter provides number of good multicast packets transmitted.
Definition: nvethernetrm_export.h:272
osi_mmc_counters::mmc_rx_64_octets_gb
nveu64_t mmc_rx_64_octets_gb
This counter provides the number of good and bad packets received with length 64 bytes,...
Definition: nvethernetrm_export.h:441
osi_mmc_counters::mmc_tx_pause_frame_h
nveu64_t mmc_tx_pause_frame_h
This counter provides upper 32 bytes of good Pause packets transmitted.
Definition: nvethernetrm_export.h:378
osi_mmc_counters::mmc_rx_256_to_511_octets_gb_h
nveu64_t mmc_rx_256_to_511_octets_gb_h
This counter provides upper 32 bytes of good and bad packets received with length 256-511 bytes,...
Definition: nvethernetrm_export.h:462
osi_core_avb_algorithm::tcindex
nveu32_t tcindex
TC index value 0 to 7 represent 8 TC.
Definition: nvethernetrm_export.h:158
osi_mmc_counters::mmc_rx_crc_error_h
nveu64_t mmc_rx_crc_error_h
This counter provides upper 32 bytes of packets received with CRC error.
Definition: nvethernetrm_export.h:422
osi_mmc_counters::mmc_rx_fpe_fragment_cnt
nveu64_t mmc_rx_fpe_fragment_cnt
This counter provides the number of additional mPackets received due to preemption.
Definition: nvethernetrm_export.h:771
osi_est_config::ter
nveu32_t ter
Configured Time Interval width(24 bits) + 7 bits extension register.
Definition: nvethernetrm_export.h:180
OSI_MAX_TC_NUM
#define OSI_MAX_TC_NUM
Definition: nvethernetrm_export.h:88
osi_mmc_counters::mmc_tx_octetcount_g_h
nveu64_t mmc_tx_octetcount_g_h
This counter provides upper 32 bytes of bytes transmitted, exclusive of preamble, only in good packet...
Definition: nvethernetrm_export.h:364
osi_mmc_counters::mmc_rx_ipv6_gd_h
nveu64_t mmc_rx_ipv6_gd_h
This counter provides upper 32 bytes received in good IPv6 datagrams encapsulating TCP,...
Definition: nvethernetrm_export.h:683
osi_core_avb_algorithm::qindex
nveu32_t qindex
TX Queue/TC index.
Definition: nvethernetrm_export.h:125
osi_mmc_counters::mmc_tx_underflow_error_h
nveu64_t mmc_tx_underflow_error_h
This counter provides upper 32 bits of abort packets due to underflow error.
Definition: nvethernetrm_export.h:340
osi_stats::head_of_line_blk_sch
nveu64_t head_of_line_blk_sch
Head-Of-Line Blocking due to Scheduling.
Definition: nvethernetrm_export.h:210
osi_mmc_counters::mmc_rx_unicast_g
nveu64_t mmc_rx_unicast_g
This counter provides the number of good unicast packets received.
Definition: nvethernetrm_export.h:476
osi_mmc_counters::mmc_tx_256_to_511_octets_gb_h
nveu64_t mmc_tx_256_to_511_octets_gb_h
This counter provides upper 32 bits of transmitted 256-to-511 octet size good and bad packets count.
Definition: nvethernetrm_export.h:303
osi_mmc_counters::mmc_rx_udp_gd_h
nveu64_t mmc_rx_udp_gd_h
This counter provides upper 32 bytes of good IP datagrams received by DWC_ether_qos with a good UDP p...
Definition: nvethernetrm_export.h:587
osi_est_config::ctr
nveu32_t ctr[2]
40 bits cycle time register, index 0 for nsec, index 1 for sec 8 bits for Seconds,...
Definition: nvethernetrm_export.h:177
osi_est_config
OSI Core EST structure.
Definition: nvethernetrm_export.h:164
osi_core_avb_algorithm::idle_slope
nveu32_t idle_slope
idleSlopeCredit value required for CBS Max value for EQOS - 0x000FFFFFU Max value for MGBE - 0x001FFF...
Definition: nvethernetrm_export.h:137
osi_stats::tx_proc_stopped_irq_n
nveu64_t tx_proc_stopped_irq_n[OSI_MTL_MAX_NUM_QUEUES]
Transmit Process Stopped irq count.
Definition: nvethernetrm_export.h:233
osi_mmc_counters::mmc_rx_length_error
nveu64_t mmc_rx_length_error
This counter provides the number of packets received with length error (Length Type field not equal t...
Definition: nvethernetrm_export.h:483
osi_est_config::en_dis
nveu32_t en_dis
enable/disable
Definition: nvethernetrm_export.h:166
osi_mmc_counters::mmc_rx_ipv4_udsbl_octets
nveu64_t mmc_rx_ipv4_udsbl_octets
This counter provides the number of bytes received in a UDP segment that had the UDP checksum disable...
Definition: nvethernetrm_export.h:670
osi_mmc_counters
osi_mmc_counters - The structure to hold RMON counter values
Definition: nvethernetrm_export.h:252
osi_mmc_counters::mmc_rx_lpi_tran_cntr
nveu64_t mmc_rx_lpi_tran_cntr
This counter provides the number of times MAC controller has entered Rx LPI.
Definition: nvethernetrm_export.h:534
osi_mmc_counters::mmc_rx_1024_to_max_octets_gb_h
nveu64_t mmc_rx_1024_to_max_octets_gb_h
This counter provides upper 32 bytes of good and bad packets received with length 1024-maxbytes,...
Definition: nvethernetrm_export.h:474
osi_mmc_counters::mmc_rx_ipv6_hderr
nveu64_t mmc_rx_ipv6_hderr
This counter provides the number of bytes received in IPv6 datagrams with header errors (length,...
Definition: nvethernetrm_export.h:689
osi_core_frp_cmd
FRP command structure for OSD to OSI.
Definition: nvethernetrm_export.h:95
osi_mmc_counters::mmc_tx_singlecol_g
nveu64_t mmc_tx_singlecol_g
This counter provides the number of successfully transmitted packets after a single collision in the ...
Definition: nvethernetrm_export.h:343
osi_mmc_counters::mmc_rx_ipv4_gd_octets
nveu64_t mmc_rx_ipv4_gd_octets
This counter provides the number of bytes received by DWC_ether_qos in good IPv4 datagrams encapsulat...
Definition: nvethernetrm_export.h:626
osi_mmc_counters::mmc_tx_1024_to_max_octets_gb_h
nveu64_t mmc_tx_1024_to_max_octets_gb_h
This counter provides upper 32 bits of transmitted 1024-tomaxsize octet size good and bad packets cou...
Definition: nvethernetrm_export.h:317
osi_mmc_counters::mmc_tx_excessdef
nveu64_t mmc_tx_excessdef
This counter provides the number of packets aborted because of excessive deferral error (deferred for...
Definition: nvethernetrm_export.h:372
osi_mmc_counters::mmc_tx_multicol_g
nveu64_t mmc_tx_multicol_g
This counter provides the number of successfully transmitted packets after a multi collision in the h...
Definition: nvethernetrm_export.h:346
osi_est_config::btr
nveu32_t btr[2]
64 bit base time register if both values are 0, take ptp time to avoid BTRE index 0 for nsec,...
Definition: nvethernetrm_export.h:171
osi_mmc_counters::mmc_rx_udp_gd_octets
nveu64_t mmc_rx_udp_gd_octets
This counter provides the number of bytes received in a good UDP segment.
Definition: nvethernetrm_export.h:711
osi_mmc_counters::mmc_rx_512_to_1023_octets_gb_h
nveu64_t mmc_rx_512_to_1023_octets_gb_h
This counter provides upper 32 bytes of good and bad packets received with length 512-1023 bytes,...
Definition: nvethernetrm_export.h:468
nveu8_t
my_uint8_t nveu8_t
typedef equivalent to unsigned char
Definition: nvethernet_type.h:59
osi_mmc_counters::mmc_rx_ipv6_nopay_octets_h
nveu64_t mmc_rx_ipv6_nopay_octets_h
This counter provides upper 32 bytes of IPv6 datagram packets received that did not have a TCP,...
Definition: nvethernetrm_export.h:580
osi_mmc_counters::mmc_tx_broadcastframe_g
nveu64_t mmc_tx_broadcastframe_g
This counter provides number of good broadcast packets transmitted.
Definition: nvethernetrm_export.h:266
osi_core_frp_cmd::frp_id
nve32_t frp_id
OSD FRP ID.
Definition: nvethernetrm_export.h:99
osi_mmc_counters::mmc_rx_pause_frames
nveu64_t mmc_rx_pause_frames
This counter provides the number of good and valid Pause packets received.
Definition: nvethernetrm_export.h:498
osi_mmc_counters::mmc_tx_broadcastframe_g_h
nveu64_t mmc_tx_broadcastframe_g_h
This counter provides upper 32 bits of transmitted good broadcast packets count.
Definition: nvethernetrm_export.h:269
osi_mmc_counters::mmc_rx_ipv4_frag_octets
nveu64_t mmc_rx_ipv4_frag_octets
This counter provides the number of bytes received in fragmented IPv4 datagrams.
Definition: nvethernetrm_export.h:660
osi_core_frp_cmd::next_frp_id
nve32_t next_frp_id
OSD FRP Link ID.
Definition: nvethernetrm_export.h:111
nveu32_t
my_uint32_t nveu32_t
typedef equivalent to unsigned int
Definition: nvethernet_type.h:51
osi_mmc_counters::mmc_tx_256_to_511_octets_gb
nveu64_t mmc_tx_256_to_511_octets_gb
This counter provides the number of good and bad packets transmitted with length 256-511 bytes,...
Definition: nvethernetrm_export.h:300
osi_stats::mgbe_ip_header_err
nveu64_t mgbe_ip_header_err
IP Header Error.
Definition: nvethernetrm_export.h:223
osi_mmc_counters::mmc_rx_256_to_511_octets_gb
nveu64_t mmc_rx_256_to_511_octets_gb
This counter provides the number of good and bad packets received with length 256-511 bytes,...
Definition: nvethernetrm_export.h:459
osi_mmc_counters::mmc_tx_multicastframe_g_h
nveu64_t mmc_tx_multicastframe_g_h
This counter provides upper 32 bits of transmitted good multicast packet count.
Definition: nvethernetrm_export.h:275
nve32_t
my_int32_t nve32_t
typedef equivalent to int
Definition: nvethernet_type.h:53
osi_mmc_counters::mmc_rx_pause_frames_h
nveu64_t mmc_rx_pause_frames_h
This counter provides upper 32 bytes of good and valid Pause packets received.
Definition: nvethernetrm_export.h:501
osi_mmc_counters::mmc_rx_crc_error
nveu64_t mmc_rx_crc_error
This counter provides the number of packets received with CRC error.
Definition: nvethernetrm_export.h:419
osi_mmc_counters::mmc_tx_512_to_1023_octets_gb_h
nveu64_t mmc_tx_512_to_1023_octets_gb_h
This counter provides upper 32 bits of transmitted 512-to-1023 octet size good and bad packets count.
Definition: nvethernetrm_export.h:310
osi_mmc_counters::mmc_tx_framecount_g_h
nveu64_t mmc_tx_framecount_g_h
This counter provides upper 32 bytes of good packets transmitted.
Definition: nvethernetrm_export.h:368
osi_mmc_counters::mmc_rx_align_error
nveu64_t mmc_rx_align_error
This counter provides the number of packets received with alignment (dribble) error.
Definition: nvethernetrm_export.h:425
osi_mmc_counters::mmc_rx_ipv4_nopay_h
nveu64_t mmc_rx_ipv4_nopay_h
This counter provides upper 32 bytes of IPv4 datagram packets received that did not have a TCP,...
Definition: nvethernetrm_export.h:550
osi_mmc_counters::mmc_rx_ipv6_nopay_octets
nveu64_t mmc_rx_ipv6_nopay_octets
This counter provides the number of IPv6 datagram packets received that did not have a TCP,...
Definition: nvethernetrm_export.h:577
osi_stats::mgbe_jabber_timeout_err
nveu64_t mgbe_jabber_timeout_err
Jabber time out Error.
Definition: nvethernetrm_export.h:225
osi_mmc_counters::mmc_tx_64_octets_gb
nveu64_t mmc_tx_64_octets_gb
This counter provides the number of good and bad packets transmitted with length 64 bytes,...
Definition: nvethernetrm_export.h:279
osi_mmc_counters::mmc_rx_fifo_overflow
nveu64_t mmc_rx_fifo_overflow
This counter provides the number of missed received packets because of FIFO overflow in DWC_ether_qos...
Definition: nvethernetrm_export.h:504
osi_mmc_counters::mmc_rx_jabber_error
nveu64_t mmc_rx_jabber_error
This counter provides the number of giant packets received with length (including CRC) greater than 1...
Definition: nvethernetrm_export.h:432
osi_core_frp_cmd::filter_mode
nveu8_t filter_mode
OSD FRP filter mode flag.
Definition: nvethernetrm_export.h:109
osi_mmc_counters::mmc_rx_ipv4_udsbl_h
nveu64_t mmc_rx_ipv4_udsbl_h
This counter provides upper 32 bytes of good IPv4 datagrams received that had a UDP payload with chec...
Definition: nvethernetrm_export.h:562
osi_mmc_counters::mmc_rx_framecount_gb_h
nveu64_t mmc_rx_framecount_gb_h
This counter provides upper 32 bytes of good and bad packets received.
Definition: nvethernetrm_export.h:392
osi_stats::rx_watchdog_irq_n
nveu64_t rx_watchdog_irq_n
Receive Watchdog Timeout irq count.
Definition: nvethernetrm_export.h:239
osi_mmc_counters::mmc_rx_octetcount_gb
nveu64_t mmc_rx_octetcount_gb
This counter provides the number of bytes received by DWC_ther_qos, exclusive of preamble,...
Definition: nvethernetrm_export.h:395
osi_mmc_counters::mmc_rx_tcp_gd
nveu64_t mmc_rx_tcp_gd
This counter provides the number of good IP datagrams received with a good TCP payload.
Definition: nvethernetrm_export.h:600
OSI_GCL_SIZE_256
#define OSI_GCL_SIZE_256
Definition: nvethernetrm_export.h:34
osi_mmc_counters::mmc_rx_tcp_gd_octets_h
nveu64_t mmc_rx_tcp_gd_octets_h
This counter provides upper 32 bytes received in a good TCP segment.
Definition: nvethernetrm_export.h:728
osi_mmc_counters::mmc_rx_ipv6_nopay
nveu64_t mmc_rx_ipv6_nopay
This counter provides the number of bytes received in IPv6 datagrams that did not have a TCP,...
Definition: nvethernetrm_export.h:701
osi_mmc_counters::mmc_tx_octetcount_g
nveu64_t mmc_tx_octetcount_g
This counter provides the number of bytes transmitted, exclusive of preamble, only in good packets.
Definition: nvethernetrm_export.h:361
osi_mmc_counters::mmc_rx_icmp_err_octets_h
nveu64_t mmc_rx_icmp_err_octets_h
This counter provides upper 32 bytes received in a ICMP segment that had checksum errors.
Definition: nvethernetrm_export.h:750
osi_mmc_counters::mmc_rx_icmp_gd
nveu64_t mmc_rx_icmp_gd
This counter provides the number of good IP datagrams received with a good ICMP payload.
Definition: nvethernetrm_export.h:612
osi_mmc_counters::mmc_rx_packet_smd_err_cnt
nveu64_t mmc_rx_packet_smd_err_cnt
This counter the number of received MAC frames rejected due to unknown SMD value and MAC frame fragme...
Definition: nvethernetrm_export.h:765
osi_core_frp_cmd::match
nveu8_t match[OSI_FRP_MATCH_DATA_MAX]
OSD match data.
Definition: nvethernetrm_export.h:103
osi_mmc_counters::mmc_rx_icmp_gd_octets_h
nveu64_t mmc_rx_icmp_gd_octets_h
This counter provides upper 32 bytes received in a good ICMP segment.
Definition: nvethernetrm_export.h:742
osi_mmc_counters::mmc_rx_128_to_255_octets_gb
nveu64_t mmc_rx_128_to_255_octets_gb
This counter provides the number of good and bad packets received with length 128-255 bytes,...
Definition: nvethernetrm_export.h:453
osi_mmc_counters::mmc_tx_multicast_gb
nveu64_t mmc_tx_multicast_gb
This counter provides the number of good and bad multicast packets.
Definition: nvethernetrm_export.h:325
osi_mmc_counters::mmc_rx_ipv6_gd
nveu64_t mmc_rx_ipv6_gd
This counter provides the number of bytes received in good IPv6 datagrams encapsulating TCP,...
Definition: nvethernetrm_export.h:679
osi_core_avb_algorithm::send_slope
nveu32_t send_slope
sendSlopeCredit value required for CBS Max value for EQOS - 0x0000FFFFU Max value for MGBE - 0x00003F...
Definition: nvethernetrm_export.h:141
osi_mmc_counters::mmc_rx_outofrangetype
nveu64_t mmc_rx_outofrangetype
This counter provides the number of packets received with length field not equal to the valid packet ...
Definition: nvethernetrm_export.h:491
osi_mmc_counters::mmc_rx_udp_gd_octets_h
nveu64_t mmc_rx_udp_gd_octets_h
This counter provides upper 32 bytes received in a good UDP segment.
Definition: nvethernetrm_export.h:714
osi_mmc_counters::mmc_rx_ipv6_gd_octets
nveu64_t mmc_rx_ipv6_gd_octets
This counter provides the number of good IPv6 datagrams received with the TCP, UDP,...
Definition: nvethernetrm_export.h:565
osi_mmc_counters::mmc_rx_ipv6_hderr_octets
nveu64_t mmc_rx_ipv6_hderr_octets
This counter provides the number of IPv6 datagrams received with header (length or version mismatch) ...
Definition: nvethernetrm_export.h:571
osi_mmc_counters::mmc_tx_pause_frame
nveu64_t mmc_tx_pause_frame
This counter provides the number of good Pause packets transmitted.
Definition: nvethernetrm_export.h:375
osi_mmc_counters::mmc_rx_watchdog_error
nveu64_t mmc_rx_watchdog_error
This counter provides the number of packets received with error because of watchdog timeout error.
Definition: nvethernetrm_export.h:516
osi_mmc_counters::mmc_tx_65_to_127_octets_gb_h
nveu64_t mmc_tx_65_to_127_octets_gb_h
Provides upper 32 bits of transmitted 65-to-127 octet size good and bad packets count.
Definition: nvethernetrm_export.h:289
osi_mmc_counters::mmc_rx_ipv4_hderr_h
nveu64_t mmc_rx_ipv4_hderr_h
RxIPv4 of upper 32 bytes of Header Error Packets.
Definition: nvethernetrm_export.h:544
osi_mmc_counters::mmc_tx_exesscol
nveu64_t mmc_tx_exesscol
This counter provides the number of packets aborted because of excessive (16) collision errors.
Definition: nvethernetrm_export.h:355
osi_mmc_counters::mmc_tx_framecount_g
nveu64_t mmc_tx_framecount_g
This counter provides the number of good packets transmitted.
Definition: nvethernetrm_export.h:366
osi_mmc_counters::mmc_tx_latecol
nveu64_t mmc_tx_latecol
This counter provides the number of packets aborted because of late collision error.
Definition: nvethernetrm_export.h:352
osi_mmc_counters::mmc_rx_lpi_usec_cntr
nveu64_t mmc_rx_lpi_usec_cntr
This counter provides the number of microseconds Rx LPI is asserted in the MAC controller.
Definition: nvethernetrm_export.h:531
osi_stats::rx_proc_stopped_irq_n
nveu64_t rx_proc_stopped_irq_n[OSI_MTL_MAX_NUM_QUEUES]
Receive Process Stopped irq count.
Definition: nvethernetrm_export.h:237
osi_mmc_counters::mmc_rx_tcp_err_octets
nveu64_t mmc_rx_tcp_err_octets
This counter provides the number of bytes received in a TCP segment that had checksum errors.
Definition: nvethernetrm_export.h:732
osi_mmc_counters::mmc_rx_length_error_h
nveu64_t mmc_rx_length_error_h
This counter provides upper 32 bytes of packets received with length error (Length Type field not equ...
Definition: nvethernetrm_export.h:487
osi_mmc_counters::mmc_rx_udp_err
nveu64_t mmc_rx_udp_err
This counter provides the number of good IP datagrams received by DWC_ether_qos with a good UDP paylo...
Definition: nvethernetrm_export.h:592
osi_core_avb_algorithm::low_credit
nveu32_t low_credit
lowCredit value required for CBS Max value - 0x1FFFFFFFU
Definition: nvethernetrm_export.h:147
osi_core_frp_cmd::match_length
nveu8_t match_length
OSD match data length.
Definition: nvethernetrm_export.h:105
osi_mmc_counters::mmc_tx_64_octets_gb_h
nveu64_t mmc_tx_64_octets_gb_h
This counter provides upper 32 bits of transmitted 64 octet size good and bad packets count.
Definition: nvethernetrm_export.h:282
osi_mmc_counters::mmc_tx_unicast_gb
nveu64_t mmc_tx_unicast_gb
This counter provides the number of good and bad unicast packets.
Definition: nvethernetrm_export.h:319
osi_mmc_counters::mmc_rx_ipv6_hderr_octets_h
nveu64_t mmc_rx_ipv6_hderr_octets_h
This counter provides the number of IPv6 datagrams received with header (length or version mismatch) ...
Definition: nvethernetrm_export.h:574
osi_stats::mgbe_tx_underflow_err
nveu64_t mgbe_tx_underflow_err
Under Flow Error.
Definition: nvethernetrm_export.h:229
osi_mmc_counters::mmc_tx_512_to_1023_octets_gb
nveu64_t mmc_tx_512_to_1023_octets_gb
This counter provides the number of good and bad packets transmitted with length 512-1023 bytes,...
Definition: nvethernetrm_export.h:307
osi_mmc_counters::mmc_rx_broadcastframe_g
nveu64_t mmc_rx_broadcastframe_g
This counter provides the number of good broadcast packets received.
Definition: nvethernetrm_export.h:407
osi_mmc_counters::mmc_rx_fifo_overflow_h
nveu64_t mmc_rx_fifo_overflow_h
This counter provides upper 32 bytes of missed received packets because of FIFO overflow in DWC_ether...
Definition: nvethernetrm_export.h:507
osi_mmc_counters::mmc_rx_outofrangetype_h
nveu64_t mmc_rx_outofrangetype_h
This counter provides upper 32 bytes of packets received with length field not equal to the valid pac...
Definition: nvethernetrm_export.h:495
osi_mmc_counters::mmc_tx_broadcast_gb_h
nveu64_t mmc_tx_broadcast_gb_h
This counter provides upper 32 bits of transmitted good bad broadcast packets count.
Definition: nvethernetrm_export.h:334
osi_mmc_counters::mmc_rx_octetcount_g_h
nveu64_t mmc_rx_octetcount_g_h
This counter provides upper 32 bytes of bytes received by DWC_ether_qos, exclusive of preamble,...
Definition: nvethernetrm_export.h:404
osi_mmc_counters::mmc_rx_ipv4_udsbl
nveu64_t mmc_rx_ipv4_udsbl
This counter provides the number of good IPv4 datagrams received that had a UDP payload with checksum...
Definition: nvethernetrm_export.h:559
osi_fpe_config::rq
nveu32_t rq
RQ for all preemptable packets which are not filtered based on user priority or SA-DA Value range for...
Definition: nvethernetrm_export.h:200
osi_mmc_counters::mmc_rx_framecount_gb
nveu64_t mmc_rx_framecount_gb
This counter provides the number of good and bad packets received.
Definition: nvethernetrm_export.h:389
osi_core_frp_cmd::cmd
nveu32_t cmd
FRP Command type.
Definition: nvethernetrm_export.h:97
osi_core_avb_algorithm::credit_control
nveu32_t credit_control
When this bit is set, the accumulated credit parameter in the credit-based shaper algorithm logic is ...
Definition: nvethernetrm_export.h:133
osi_mmc_counters::mmc_rx_tcp_err_h
nveu64_t mmc_rx_tcp_err_h
This counter provides upper 32 bytes of good IP datagrams received with a good TCP payload.
Definition: nvethernetrm_export.h:609
osi_mmc_counters::mmc_tx_1024_to_max_octets_gb
nveu64_t mmc_tx_1024_to_max_octets_gb
This counter provides the number of good and bad packets transmitted with length 1024-max bytes,...
Definition: nvethernetrm_export.h:314
osi_mmc_counters::mmc_rx_undersize_g
nveu64_t mmc_rx_undersize_g
This counter provides the number of packets received with length less than 64 bytes,...
Definition: nvethernetrm_export.h:435
osi_fpe_config
OSI Core FPE structure.
Definition: nvethernetrm_export.h:192
osi_mmc_counters::mmc_rx_ipv4_nopay_octets_h
nveu64_t mmc_rx_ipv4_nopay_octets_h
This counter provides upper 32 bytes received in IPv4 datagram that did not have a TCP,...
Definition: nvethernetrm_export.h:655
osi_mmc_counters::mmc_rx_tcp_err_octets_h
nveu64_t mmc_rx_tcp_err_octets_h
This counter provides upper 32 bytes received in a TCP segment that had checksum errors.
Definition: nvethernetrm_export.h:736
osi_mmc_counters::mmc_rx_octetcount_gb_h
nveu64_t mmc_rx_octetcount_gb_h
This counter provides upper 32 bytes of bytes received by DWC_ether_qos, exclusive of preamble,...
Definition: nvethernetrm_export.h:398
OSI_FRP_MATCH_DATA_MAX
#define OSI_FRP_MATCH_DATA_MAX
Definition: nvethernetrm_export.h:47
osi_mmc_counters::mmc_rx_ipv6_nopay_h
nveu64_t mmc_rx_ipv6_nopay_h
This counter provides upper 32 bytes received in IPv6 datagrams that did not have a TCP,...
Definition: nvethernetrm_export.h:707
osi_mmc_counters::mmc_rx_udp_err_octets_h
nveu64_t mmc_rx_udp_err_octets_h
This counter provides upper 32 bytes received in a UDP segment that had checksum errors.
Definition: nvethernetrm_export.h:722
osi_mmc_counters::mmc_rx_ipv4_hderr_octets
nveu64_t mmc_rx_ipv4_hderr_octets
This counter provides the number of bytes received in IPv4 datagram with header errors (checksum,...
Definition: nvethernetrm_export.h:637
osi_mmc_counters::mmc_rx_ipv4_hderr
nveu64_t mmc_rx_ipv4_hderr
RxIPv4 Header Error Packets.
Definition: nvethernetrm_export.h:542
osi_mmc_counters::mmc_rx_ipv4_frag_octets_h
nveu64_t mmc_rx_ipv4_frag_octets_h
This counter provides upper 32 bytes received in fragmented IPv4 datagrams.
Definition: nvethernetrm_export.h:665
osi_core_avb_algorithm::algo
nveu32_t algo
CBS Algorithm enable(1) or disable(0)
Definition: nvethernetrm_export.h:127
nvethernet_type.h
osi_mmc_counters::mmc_rx_udp_err_h
nveu64_t mmc_rx_udp_err_h
This counter provides upper 32 bytes of good IP datagrams received by DWC_ether_qos with a good UDP p...
Definition: nvethernetrm_export.h:597
osi_mmc_counters::mmc_tx_octetcount_gb
nveu64_t mmc_tx_octetcount_gb
This counter provides the number of bytes transmitted, exclusive of preamble and retried bytes,...
Definition: nvethernetrm_export.h:255
osi_mmc_counters::mmc_tx_fpe_hold_req_cnt
nveu64_t mmc_tx_fpe_hold_req_cnt
This counter provides the count of number of times a hold request is given to MAC.
Definition: nvethernetrm_export.h:756
osi_stats::sw_own_list_complete
nveu64_t sw_own_list_complete
Switch to Software Owned List Complete.
Definition: nvethernetrm_export.h:220
osi_mmc_counters::mmc_rx_ipv4_nopay
nveu64_t mmc_rx_ipv4_nopay
This counter provides the number of IPv4 datagram packets received that did not have a TCP,...
Definition: nvethernetrm_export.h:547
osi_mmc_counters::mmc_rx_ipv4_nopay_octets
nveu64_t mmc_rx_ipv4_nopay_octets
This counter provides the number of bytes received in IPv4 datagram that did not have a TCP,...
Definition: nvethernetrm_export.h:649
osi_mmc_counters::mmc_rx_runt_error
nveu64_t mmc_rx_runt_error
This counter provides the number of packets received with runt (length less than 64 bytes and CRC err...
Definition: nvethernetrm_export.h:428