On Fri, Sep 1, 2023 at 3:10 AM <pbhagavat...@marvell.com> wrote: > > From: Pavan Nikhilesh <pbhagavat...@marvell.com> > > A collection of event queues linked to an event port can be > associated with a unique identifier called as a profile, multiple > such profiles can be created based on the event device capability > using the function `rte_event_port_profile_links_set` which takes > arguments similar to `rte_event_port_link` in addition to the profile > identifier. > > The maximum link profiles that are supported by an event device > is advertised through the structure member > `rte_event_dev_info::max_profiles_per_port`. > By default, event ports are configured to use the link profile 0 > on initialization. > > Once multiple link profiles are set up and the event device is started, > the application can use the function `rte_event_port_profile_switch` > to change the currently active profile on an event port. This effects > the next `rte_event_dequeue_burst` call, where the event queues > associated with the newly active link profile will participate in > scheduling. > > An unlink function `rte_event_port_profile_unlink` is provided > to modify the links associated to a profile, and > `rte_event_port_profile_links_get` can be used to retrieve the > links associated with a profile. > > Using Link profiles can reduce the overhead of linking/unlinking and > waiting for unlinks in progress in fast-path and gives applications > the ability to switch between preset profiles on the fly. > > Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com>
Could you rebase with next-eventdev tree. [for-main]dell[dpdk-next-eventdev] $ git pw series apply 29396 Failed to apply patch: Applying: eventdev: introduce link profiles Using index info to reconstruct a base tree... M doc/guides/rel_notes/release_23_11.rst M drivers/event/cnxk/cnxk_eventdev.c M drivers/event/dlb2/dlb2.c M lib/eventdev/rte_eventdev_core.h M lib/eventdev/version.map Falling back to patching base and 3-way merge... Auto-merging lib/eventdev/version.map CONFLICT (content): Merge conflict in lib/eventdev/version.map Auto-merging lib/eventdev/rte_eventdev_core.h CONFLICT (content): Merge conflict in lib/eventdev/rte_eventdev_core.h Auto-merging drivers/event/dlb2/dlb2.c Auto-merging drivers/event/cnxk/cnxk_eventdev.c Auto-merging doc/guides/rel_notes/release_23_11.rst CONFLICT (content): Merge conflict in doc/guides/rel_notes/release_23_11.rst error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 eventdev: introduce link profiles When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". [for-main]dell[dpdk-next-eventdev] $