numam-dpdk/drivers/event
Mattias Rönnblom 4689c579e7 event/sw: report idle when no work is performed
Have the SW event device conform to the service core convention, where
-EAGAIN is return in case no work was performed.

Prior to this patch, for an idle SW event device, a service lcore load
estimate based on RTE_SERVICE_ATTR_CYCLES would suggest 48% core
load.

At 7% of its maximum capacity, the SW event device needs about 15% of
the available CPU cycles* to perform its duties, but
RTE_SERVICE_ATTR_CYCLES would suggest the SW service used 48% of the
service core.

After this change, load deduced from RTE_SERVICE_ATTR_CYCLES will only
be a minor overestimation of the actual cycles used.

* The SW scheduler becomes more efficient at higher loads.

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
2022-10-05 15:44:48 +02:00
..
cnxk crypto/cnxk: support event vectorization 2022-10-02 20:33:25 +02:00
dlb2 event/dlb2: handle enqueuing more than maximum depth 2022-09-30 10:57:40 +02:00
dpaa eventdev: introduce event cryptodev vector type 2022-10-02 20:33:24 +02:00
dpaa2 eventdev: introduce event cryptodev vector type 2022-10-02 20:33:24 +02:00
dsw event/dsw: fix flow migration 2022-09-26 15:33:46 +02:00
octeontx eventdev: introduce event cryptodev vector type 2022-10-02 20:33:24 +02:00
opdl bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
skeleton dev: hide driver object 2022-09-23 16:14:34 +02:00
sw event/sw: report idle when no work is performed 2022-10-05 15:44:48 +02:00
meson.build drivers: remove octeontx2 drivers 2022-01-12 15:36:32 +01:00