A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: rbq1674264806782
Ixiasoft
Visible to Intel only — GUID: rbq1674264806782
Ixiasoft
6.6.6. macsec_read_register
macsec_read_register
- Synopsis
- uint32_t macsec_read(struct macsec_info *info, uint32_t offset, uint32_t port, uint32_t sc, uint32_t sa, void *value)
- Description
-
Read the MACsec IP register.
- Arguments
-
info—points to the macsec_info structure.
port—physical port.
offset—CSR register offset value.
sc—secure channel value.
sa—secure association value.
value—read value.
- Returns
-
MACSEC_OK if successful.
MACSEC_ERR_INVALID_PORT if port not associated with any port.
MACSEC_ERR_INVALID_ARG if the macsec_info structure or info is NULL or offset and SC/SA are invalid.
MACSEC_ERR_READ if CSR read failure.