Intel® Ethernet 800 Series Application Device Queues (ADQ)

Software Developer's Guide

ID Date Version Classification
626536 04/03/2023 Public
Document Table of Contents

Change Necessary for ADQ Enablement

To align application worker threads to network adapter queues, the select application worker thread step from the default design above can be changed to perform load balancing of connections to worker threads via NAPI_​ID rather than round-robin. following is the pseudo code for this change:

Query socket option (SO_INCOMUNG_NAPI_ID) on accepted connection Select thread based on NAPI-ID if existing association of THREAD to NAPI_ID -> Select the associated thread else -> Select next available thread from thread pool and set up NAPI_ID to THREAD association

For more information, refer to the Memcached patch submitted at either of the following locations: