MACsec Intel FPGA System Design User Guide

ID 767516
Date 3/03/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.6.9. macsec_rate_configuration

macsec_rate_configuration

Synopsis
iint macsec_rate_config(int port, int data_rate)
Description

Ethernet Dynamic data rate changes support through Port Mux/Demux

Arguments

port—physical port.

data_rate—data rate for Ethernet port.

Returns

MACSEC_OK if successful.

MACSEC_ERR_INVALID_PORT if port is not valid.

MACSEC_ERR_INVALID_DATA_RATE if data rate is not valid.