| 44516e6b | 16-May-2022 |
Shijith Thotton <[email protected]> |
eventdev: add weight and affinity to queue attributes
Extended eventdev queue QoS attributes to support weight and affinity. If queues are of the same priority, events from the queue with highest we
eventdev: add weight and affinity to queue attributes
Extended eventdev queue QoS attributes to support weight and affinity. If queues are of the same priority, events from the queue with highest weight will be scheduled first. Affinity indicates the number of times, the subsequent schedule calls from an event port will use the same event queue. Schedule call selects another queue if current queue goes empty or schedule count reaches affinity count.
To avoid ABI break, weight and affinity attributes are not yet added to queue config structure and rely on PMD for managing it. New eventdev op queue_attr_get can be used to get it from the PMD.
Signed-off-by: Shijith Thotton <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 95138712 | 14-Feb-2022 |
Naga Harish K S V <[email protected]> |
eventdev/eth_rx: fix queue config query
Remove the memcpy usage in queue config get function for `event` variable which is 8 byte size and use direct copy. Also provide vector information and event
eventdev/eth_rx: fix queue config query
Remove the memcpy usage in queue config get function for `event` variable which is 8 byte size and use direct copy. Also provide vector information and event buffer size in the queue config info.
Fixes: da781e6488 ("eventdev/eth_rx: support Rx queue config get") Cc: [email protected]
Signed-off-by: Naga Harish K S V <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|
| bd0a32d1 | 09-Feb-2022 |
Naga Harish K S V <[email protected]> |
eventdev/eth_tx: fix queue add error code
The internal function txa_service_queue_add() is returning 0 in case of error, correct this logic to return a negative value to indicate failure.
Fixes: a3
eventdev/eth_tx: fix queue add error code
The internal function txa_service_queue_add() is returning 0 in case of error, correct this logic to return a negative value to indicate failure.
Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation") Cc: [email protected]
Signed-off-by: Naga Harish K S V <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|
| bd991897 | 10-Nov-2021 |
Mattias Rönnblom <[email protected]> |
eventdev: negate maintenance capability flag
Replace RTE_EVENT_DEV_CAP_REQUIRES_MAINT, which signaled the need for the application to call rte_event_maintain(), with RTE_EVENT_DEV_CAP_MAINTENANCE_FR
eventdev: negate maintenance capability flag
Replace RTE_EVENT_DEV_CAP_REQUIRES_MAINT, which signaled the need for the application to call rte_event_maintain(), with RTE_EVENT_DEV_CAP_MAINTENANCE_FREE, which does the opposite (i.e., signifies that the event device does not require maintenance).
This approach is more in line with how other eventdev hardware and/or software limitations are handled in the Eventdev API.
Signed-off-by: Mattias Rönnblom <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 572dce2b | 10-Nov-2021 |
Mattias Rönnblom <[email protected]> |
eventdev/eth_rx: fix stalls on event device backpressure
In the Eventdev Ethernet RX Adapter, correctly handle the case where the circular enqueue buffer head and last index point to the same elemen
eventdev/eth_rx: fix stalls on event device backpressure
In the Eventdev Ethernet RX Adapter, correctly handle the case where the circular enqueue buffer head and last index point to the same element.
This bug may be triggered in case there is backpressure from the event device to the RX adapter.
Fixes: 8113fd15e229 ("eventdev/eth_rx: make enqueue buffer circular")
Signed-off-by: Mattias Rönnblom <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|