Variable switch_pool_index

Variable Documentation

uint16_t switchml::DpdkBackend::DpdkPacketHdr::switch_pool_index

The switch’s pool/slot index.

A pool or a slot in the switch is what is used to store the values of a packet. Think of the switch as a large array of pools or slots. Each packet sent addresses a particular pool/slot.

The MSB of this field is used to alternate between two sets of pools/slots to have a shadow copy for switch retransmissions.