Functions | |
| int32_t | PN_setStaticFilterTable (PRUICSS_HwAttrs const *pruicssHwAttrs, const uint8_t *macAddr, uint8_t ctrl, uint8_t portNumber, uint8_t table) |
| API to enable/disable the reception & forward for a Multicast address in port multicast filter tables. More... | |
| int32_t | PN_loadStaticTable (PRUICSS_HwAttrs const *pruicssHwAttrs, const uint32_t *staticTable, uint8_t staticTableLength, uint8_t staticTableType, uint8_t portNumber) |
| PN_loadStaticTable API to load multicast static table to ICSS memory. More... | |
| void | PN_storeIpAddress (PRUICSS_HwAttrs const *pruicssHwAttrs, const uint32_t devIpAddr) |
| API to store current configured DUT IP address. More... | |
| int32_t PN_setStaticFilterTable | ( | PRUICSS_HwAttrs const * | pruicssHwAttrs, |
| const uint8_t * | macAddr, | ||
| uint8_t | ctrl, | ||
| uint8_t | portNumber, | ||
| uint8_t | table | ||
| ) |
API to enable/disable the reception & forward for a Multicast address in port multicast filter tables.
| [in] | pruicssHwAttrs | PRUICSS HW Attributes for base addresses |
| [in] | macAddr | MAC Address for which the reception or forward has to be enabled or disabled Following are the valid ranges of multicast addresses: (01-0E-CF-00-00-00 TO 01-0E-CF-00-05-FF) (01-15-4E-00-00-00 TO 01-15-4E-00-00-1F) (01-80-C2-00-00-00 TO 01-80-C2-00-00-1F) |
| [in] | ctrl | A MAC address can be configured using one of four valid configuration for reception and foward For example, if MAC address is called with NO_RCV_NO_FWD then it's reception and forwarding will be disabled NO_RCV_NO_FWD RCV_NO_FWD NO_RCV_FWD RCV_FWD |
| [in] | portNumber | Port on which reception and forwarding is configured for a MAC address PORT1 (1) PORT2 (2) |
| [in] | table | There are two sets of table one for BLOCKING state and second one for FORWARDING state BLOCKING FORWARDING |
| 0 | on success |
| int32_t PN_loadStaticTable | ( | PRUICSS_HwAttrs const * | pruicssHwAttrs, |
| const uint32_t * | staticTable, | ||
| uint8_t | staticTableLength, | ||
| uint8_t | staticTableType, | ||
| uint8_t | portNumber | ||
| ) |
PN_loadStaticTable API to load multicast static table to ICSS memory.
API to load multicast static table to ICSS memory
| [in] | pruicssHwAttrs | PRUICSS HW Attributes for base addresses |
| [in] | staticTable | start address of the static table |
| [in] | staticTableLength | length of the static table in bytes |
| [in] | staticTableType | type of static table 0 == Forward Table, 1 == Receive Table |
| [in] | portNumber | Allowed values : ICSS_EMAC_PORT_1, ICSS_EMAC_PORT_2 |
| 0 | on sucess or <0 on failure |
| void PN_storeIpAddress | ( | PRUICSS_HwAttrs const * | pruicssHwAttrs, |
| const uint32_t | devIpAddr | ||
| ) |
API to store current configured DUT IP address.
| [in] | pruicssHwAttrs | PRUICSS HW Attributes for base addresses |
| devIpAddr | Device IP address |