OpenBIC
OpenSource Bridge-IC
plat_ncsi.c File Reference
#include <logging/log.h>
#include "ncsi.h"
#include "mctp.h"
#include "plat_ncsi.h"
Include dependency graph for plat_ncsi.c:

Macros

#define MELLANOX_SET_SELF_RECOVERY_SETTING_CHANNEL   0x1F
 
#define MELLANOX_IANA   0x19810000
 

Functions

 LOG_MODULE_REGISTER (plat_ncsi)
 
uint8_t mellanox_cx7_set_self_recovery_setting (uint8_t mctp_dest_eid)
 
uint8_t mellanox_cx7_get_infiniband_link_status (uint8_t mctp_dest_eid, uint8_t *link_type, uint16_t *response_code, uint16_t *reason_code)
 
uint8_t mellanox_cx7_clear_initial_state (uint8_t mctp_dest_eid)
 

Macro Definition Documentation

◆ MELLANOX_IANA

#define MELLANOX_IANA   0x19810000

◆ MELLANOX_SET_SELF_RECOVERY_SETTING_CHANNEL

#define MELLANOX_SET_SELF_RECOVERY_SETTING_CHANNEL   0x1F

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_ncsi  )

◆ mellanox_cx7_clear_initial_state()

uint8_t mellanox_cx7_clear_initial_state ( uint8_t  mctp_dest_eid)
Here is the call graph for this function:

◆ mellanox_cx7_get_infiniband_link_status()

uint8_t mellanox_cx7_get_infiniband_link_status ( uint8_t  mctp_dest_eid,
uint8_t *  link_type,
uint16_t *  response_code,
uint16_t *  reason_code 
)
Here is the call graph for this function:

◆ mellanox_cx7_set_self_recovery_setting()

uint8_t mellanox_cx7_set_self_recovery_setting ( uint8_t  mctp_dest_eid)
Here is the call graph for this function: