event/cnxk: set dequeue mode to prefetch with wait
Set default GetWork(dequeue) mode to prefetch with wait for event. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
This commit is contained in:
parent
e3c0049d16
commit
4b5ffa6a05
@ -79,8 +79,9 @@ Runtime Config Options
|
||||
|
||||
- ``CN10K Getwork mode``
|
||||
|
||||
CN10K supports multiple getwork prefetch modes, by default the prefetch
|
||||
mode is set to none.
|
||||
CN10K supports three getwork prefetch modes no prefetch[0], prefetch
|
||||
immediately[1] and delayed prefetch on forward progress event[2].
|
||||
The default getwork mode is 2.
|
||||
|
||||
For example::
|
||||
|
||||
|
@ -1136,6 +1136,7 @@ cn10k_sso_init(struct rte_eventdev *event_dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
dev->gw_mode = CN10K_GW_MODE_PREF_WFE;
|
||||
rc = cnxk_sso_init(event_dev);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user