MACsec Intel® FPGA System Design User Guide

ID 767516
Date 3/31/2024
Public
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.