MACsec Intel® FPGA System Design User Guide

ID 767516
Date 3/31/2024
Public
Document Table of Contents

6.6.1. macsec_initilize

macsec_global_reset

Synopsis
static uint32_t macsec_global_reset(void)
Description

Does the port reset and global sw reset.

Arguments

NA

Returns

MACSEC_OK if successful.

MACSEC_ERR_WRITE if CSR write failure.

macsec_port_reset

Synopsis
static uint32_t macsec_port_reset(struct macsec_info *info)
Description

Does the port reset

Arguments

info—points to the macsec_info structure.

Returns

MACSEC_OK if successful.

MACSEC_ERR_INVALID_PORT if port is not valid.

MACSEC_ERR_WRITE if CSR write failure.

MACSEC_ERR_READ if CSR read failure.

macsec_sa_reset

Synopsis
static uint32_t macsec_sa_reset (struct macsec_info *info)
Description

Does the secure association reset.

Arguments

info—points to the macsec_info structure.

Returns

MACSEC_OK if successful.

MACSEC_ERR_UNINITIALIZED if initialization failed.

MACSEC_ERR_INVALID_ARG if the MACsec_info structure or info is NULL.