[SWDEV-543308] Revert amdsmi_link_metrics structure change
Moved the bit_rate and max_bandwidth back into links in the amdsmi_link_metrics_t struct as this change was impacting other teams. Modified the C and python API's, wrapper, and CLI accordingly. Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Cette révision appartient à :
1 Parent
fcf494bbc5
révision
645c313f00
5 fichiers modifiés
+15
-14
Aucun fichier ne correspond à votre recherche
@@ -974,10 +974,10 @@ typedef struct {
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t num_links; //!< number of links
|
||||
uint32_t bit_rate; //!< current link speed in Gb/s
|
||||
uint32_t max_bandwidth; //!< max bandwidth of the link in Gb/s
|
||||
struct _links {
|
||||
amdsmi_bdf_t bdf; //!< bdf of the destination gpu
|
||||
uint32_t bit_rate; //!< current link speed in Gb/s
|
||||
uint32_t max_bandwidth; //!< max bandwidth of the link in Gb/s
|
||||
amdsmi_link_type_t link_type; //!< type of the link
|
||||
uint64_t read; //!< total data received for each link in KB
|
||||
uint64_t write; //!< total data transfered for each link in KB
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur