Data Plane Development Kit Reference Manual: Intel FPGA Programmable Acceleration Card N3000

ID 683512
Date 12/06/2019
Public
Document Table of Contents

4.3. opae_manager_eth_group_write_reg()

Prototype:

int opae_manager_eth_group_write_reg(struct opae_manager *mgr, u8 group_id, u8 type, u8 index, u16 addr, u32 *data); );

Arguments:

name: A pointer to the opae_manager for the Ethernet group.

group_id: The group ID index which is 0 for retimers and 1 for the XL710.
type: The Ethernet type, MAC or PHY.
index: Port index for the Ethernet group device.
addr: Register address of the Ethernet group.
data: The write data content.

Returns:

Int.

Description:

Writes registers in the PHY and MAC specified. This function is available to both AFU driver and client applications.
Related Defines None.