Forum Discussion
JohnT_Altera
Regular Contributor
3 years agoHi,
I just found the issue on the host code where it will performed device detection before running it. So when it is detecting more than 1 acceleration card detected witht he same design, it will flag error. You can try to comment out line 412 to 414.
nikhl
New Contributor
3 years agoI have commented those lines, that statement is gone but the data is not getting transferred from one PAC to another.
server2@server2:~/inteldevstack/a10_gx_pac_ias_1_2_1_pv/hw/samples/eth_e2e_e10/sw$ ./pac_hssi_e10 86 00 00 --channel=0 --action=stat ---------------------------------------------------------------------------------------------------- CHANNEL STATISTICS ---------------------------------------------------------------------------------------------------- CHANNEL |LOOPBACK |FREQ LOCK |WORD LOCK |TYPE ---------------------------------------------------------------------------------------------------- 0 |0 |0 |1 |TX ---------------------------------------------------------------------------------------------------- OFFSET |NAME |VALUE |DESCRIPTION ---------------------------------------------------------------------------------------------------- 0x1c00 |tx_stats_clr |0 |Clear TX stats 0x1c02 |tx_stats_framesOK |0x10000 |Frames that are successfully transmitted 0x1c04 |tx_stats_framesErr |0 |Frames that are transmitted with error 0x1c06 |tx_stats_framesCRCErr |0 |TX frames with CRC error 0x1c08 |tx_stats_octetsOK |0x2e0000 |Data and padding octets that are successfully transmitted 0x1c0a |tx_stats_pauseMACCtrl |0 |Number of valid pause frames transmitted 0x1c0c |tx_stats_ifErrors |0 |Number of errored and invalid frames transmitted 0x1c0e |tx_stats_unicast FramesOK |0x10000 |Number of good unicast frames that are successfully transmitted 0x1c10 |tx_stats_unicast FramesErr |0 |Number of errored unicast frames transmitted 0x1c12 |tx_stats_multicast FramesOK |0 |Number of good multicast frames transmitted 0x1c14 |rx_stats_multicast FramesErr |0 |Number of errored multicast frames transmitted 0x1c16 |tx_stats_broadcast FramesOK |0 |Number of good broadcast frames transmitted 0x1c18 |tx_stats_broadcast FramesErr |0 |Number of errored broadcast frames transmitted 0x1c1a |tx_stats_etherStats Octets |0x400000 |Total number of octets transmitted 0x1c1c |rx_stats_etherStatsPkts |0x10000 |Total number of good, errored, and invalid frames transmitted 0x1c1e |tx_stats_etherStats UndersizePkts |0 |Number of undersized frames transmitted 0x1c20 |tx_stats_etherStats OversizePkts |0 |Number of oversized frames transmitted 0x1c22 |tx_stats_etherStats Pkts64Octets |0x10000 |Number of 64-byte transmitted frames 0x1c24 |tx_stats_etherStats Pkts65to127Octets |0 |Number of transmitted frames between the length of 65 and 127 bytes 0x1c26 |tx_stats_etherStats Pkts128to255Octets |0 |Number of transmitted frames between the length of 128 and 255 bytes 0x1c28 |tx_stats_etherStats Pkts256to511Octets |0 |Number of transmitted frames between the length of 256 and 511 bytes 0x1c2a |tx_stats_etherStats Pkts512to1023Octets |0 |Number of transmitted frames between the length of 512 and 1023 bytes 0x1c2c |tx_stats_etherStats Pkts1024to1518Octets |0 |Number of transmitted frames between the length of 1024 and 1518 bytes 0x1c2e |tx_stats_etherStats Pkts1519toXOctets |0 |Number of receive or receive frames >= 1,519 bytes 0x1c2e |tx_stats_etherStats Pkts1519toXOctets |0 |Number of receive or receive frames >= 1,519 bytes 0x1c30 |tx_stats_etherStats Fragments |0 |Number of receive or receive frames >= 1,519 bytes 0x1c32 |tx_stats_etherStats Jabbers |0 |Number of oversized transmit frames 0x1c34 |tx_stats_etherStats CRCErr |0 |Number of transmit frames between the length of 64 and the value configured in the rx_frame_maxlength register with CRC error 0x1c36 |tx_stats_unicastMAC CtrlFrames |0 |Number of valid unicast control frames transmitted 0x1c38 |tx_stats_multicastMAC CtrlFrames |0 |Number of valid multicast control frames transmitted 0x1c3a |tx_stats_broadcastMAC CtrlFrames |0 |tx_stats_PFCMACCtrlFrames 0x1c3c |tx_stats_PFCMACCtrlFrames |0 |Number of valid PFC frames transmitted ---------------------------------------------------------------------------------------------------- CHANNEL STATISTICS ---------------------------------------------------------------------------------------------------- CHANNEL |LOOPBACK |FREQ LOCK |WORD LOCK |TYPE ---------------------------------------------------------------------------------------------------- 0 |0 |0 |1 |RX ---------------------------------------------------------------------------------------------------- OFFSET |NAME |VALUE |DESCRIPTION ---------------------------------------------------------------------------------------------------- 0xc00 |rx_stats_clr |0 |Clear RX stats 0xc02 |rx_stats_framesOK |0 |Frames that are successfully received 0xc04 |rx_stats_framesErr |0 |Frames that are received with error 0xc06 |rx_stats_framesCRCErr |0 |RX frames with CRC error 0xc08 |rx_stats_octetsOK |0 |Data and padding octets that are successfully received 0xc0a |rx_stats_pauseMACCtrl |0 |Number of valid pause frames received 0xc0c |rx_stats_ifErrors |0 |Number of errored and invalid frames received 0xc0e |rx_stats_unicast FramesOK |0 |Number of good unicast frames that are successfully received 0xc10 |rx_stats_unicast FramesErr |0 |Number of errored unicast frames received 0xc12 |rx_stats_multicast FramesOK |0 |Number of good multicast frames received 0xc14 |rx_stats_multicast FramesErr |0 |Number of errored multicast frames received 0xc16 |rx_stats_broadcast FramesOK |0 |Number of good broadcast frames received 0xc18 |rx_stats_broadcast FramesErr |0 |Number of errored broadcast frames received 0xc1a |rx_stats_etherStats Octets |0 |Total number of octets received 0xc1c |rx_stats_etherStatsPkts |0 |Total number of good, errored, and invalid frames received 0xc1e |rx_stats_etherStats UndersizePkts |0 |Number of undersized frames recieved 0xc20 |rx_stats_etherStats OversizePkts |0 |Number of oversized frames recieved 0xc22 |rx_stats_etherStats Pkts64Octets |0 |Number of 64-byte received frames 0xc24 |rx_stats_etherStats Pkts65to127Octets |0 |Number of receive frames between the length of 65 and 127 bytes 0xc26 |rx_stats_etherStats Pkts128to255Octets |0 |Number of receive frames between the length of 128 and 255 bytes 0xc28 |rx_stats_etherStats Pkts256to511Octets |0 |Number of receive frames between the length of 256 and 511 bytes 0xc2a |rx_stats_etherStats Pkts512to1023Octets |0 |Number of receive frames between the length of 512 and 1023 bytes 0xc2c |rx_stats_etherStats Pkts1024to1518Octets |0 |Number of receive frames between the length of 1024 and 1518 bytes 0xc2e |rx_stats_etherStats Pkts1519toXOctets |0 |Number of receive or transmit frames >= 1,519 bytes 0xc2e |rx_stats_etherStats Pkts1519toXOctets |0 |Number of receive or transmit frames >= 1,519 bytes 0xc30 |rx_stats_etherStats Fragments |0 |Number of receive or transmit frames >= 1,519 bytes 0xc32 |rx_stats_etherStats Jabbers |0 |Number of oversized receive frames 0xc34 |rx_stats_etherStats CRCErr |0 |Number of receive frames between the length of 64 and the value configured in the rx_frame_maxlength register with CRC error 0xc36 |rx_stats_unicastMAC CtrlFrames |0 |Number of valid unicast control frames received 0xc38 |rx_stats_multicastMAC CtrlFrames |0 |Number of valid multicast control frames received 0xc3a |rx_stats_broadcastMAC CtrlFrames |0 |rx_stats_PFCMACCtrlFrames 0xc3c |rx_stats_PFCMACCtrlFrames |0 |Number of valid PFC frames received