Existing pktio API has only support of querying MAC and MTU values. Adds new pktio APIs to set MTU and default MAC address on pktio interface, new pktio APIs also support add & remove multiple MAC addresses to pktio interface. Implementation can indicate it's supported maximum MTU size, MAC address size and max supported MAC addresses in its pktio capabilities. User can call set APIs, add & remove APIs to configure pktio interface within allowed range as indicated by pktio capabilities.
Vamsi Attunuru (1): pktio APIs to set MTU size, default MAC address and APIs to add & remove multiple MAC addresses. include/odp/api/spec/packet_io.h | 167 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) -- 1.9.3