On Tue, Sep 27, 2022 at 7:12 AM Abdullah Sevincer <abdullah.sevin...@intel.com> wrote: > > For best performance, applications running on certain cores should use > the DLB device locally available on the same tile along with other > resources. To allocate optimal resources, probing is done for each > producer port (PP) for a given CPU and the best performing ports are > allocated to producers. The cpu used for probing is either the first > core of producer coremask (if present) or the second core of EAL > coremask. This will be extended later to probe for all CPUs in the > producer coremask or EAL coremask. > > Producer coremask can be passed along with the BDF of the DLB devices. > "-a xx:y.z,producer_coremask=<core_mask>" > > Applications also need to pass RTE_EVENT_PORT_CFG_HINT_PRODUCER during > rte_event_port_setup() for producer ports for optimal port allocation. > > +#define DLB2_PRODUCER_COREMASK "producer_coremask"
Documentation patch is missing. Please add in 1/3. > +#define DLB2_DEFAULT_LDB_PORT_ALLOCATION_ARG "default_port_allocation" Please squash https://patches.dpdk.org/project/dpdk/patch/20220927001835.1394994-1-abdullah.sevin...@intel.com/ patch 1/3 here. Rest looks good. We should merge the next version.