From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E5D3E425E6; Wed, 20 Sep 2023 06:23:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9562840648; Wed, 20 Sep 2023 06:23:24 +0200 (CEST) Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) by mails.dpdk.org (Postfix) with ESMTP id 1C6D240648 for ; Wed, 20 Sep 2023 06:23:23 +0200 (CEST) Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-452817917dfso987526137.0 for ; Tue, 19 Sep 2023 21:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695183802; x=1695788602; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rn6tnfBnSfQ2WmnH6tt2W0EnU8ZjDvDtT88Zrm4fRyY=; b=gvuEUR90ZVeoSdntXrciS6daYfZ02lTkoIrXBgsBLFgB+IlcLiBkytF3lUMxjUX/rk Rb/GWPoyUHBW8FsHSiIuIu4hG6nlxARuw3YFPmkunWEPu1bTaz5SDGC5huk8w9mdOY2l 6hYUjlwvGp2NR8qapusTAkvd96UZO3XVcNvgi3KeEimef0o0VZFNBqAvswh7UpBxJ2KZ c+Uv9dcWooN4l6epSJXiR/5KsDUb6y2E7m0owWWzWNF73plDoLoH5vsPHooWx6zBJCxx 1WbhgEoLn4ZcwJHMij9H1kBxrvHUg0pnjA2d/1fm9HtrZxcx0f5bN1HIdNU+uE209uMh MX5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695183802; x=1695788602; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rn6tnfBnSfQ2WmnH6tt2W0EnU8ZjDvDtT88Zrm4fRyY=; b=aS24vxZEkW+hfJlboHeTwEhuLDlheT2Z63+lCx7J3lzSg2zm0s+j3essGuMui/IcJ/ wRp4cnSUIuKDyqGGkg969n+IFySKzDXgmh3rVz2e9BMVnG9w+kR13rrffwPHAiEkiReH CvVbCX5rhzHwHL32qhKY63zj2Uupr/3XDIpmgy7vPhQiLkgaOgXujRg7WodWoExKTXfh JmXfaSbVn23NVLFh1SLQk41xKMFm0dlWvpD1sLhZaOrWxUebGq7uU7D1IXgcyvhU8hRi SqLlhVg4acC2GsB78SEXBI3Vq041TOBhviyXiHdkiwTJybXLN6UncdiLSZ/RGhC6mbju Ud+g== X-Gm-Message-State: AOJu0Yws/qtnr05GzgPiChadZY/u0X+uNe3/LQF6+0aATxijBC/hjJUb +amDQPk6g33tqCeHmr6ZAZkSIwR05MSu9JYb5jw= X-Google-Smtp-Source: AGHT+IG2HSQANK3A5qFjIg7Qv4bND31JfJvZcIxqBRJm5IjHeBqTZEvM0QRqBFAsq9cZevWqCdMc3zIfyNRX42dhRL4= X-Received: by 2002:a67:fb18:0:b0:44d:5f69:3a9b with SMTP id d24-20020a67fb18000000b0044d5f693a9bmr1699319vsr.8.1695183802358; Tue, 19 Sep 2023 21:23:22 -0700 (PDT) MIME-Version: 1.0 References: <20230825184435.2986-1-pbhagavatula@marvell.com> <20230831204424.13367-1-pbhagavatula@marvell.com> <20230831204424.13367-2-pbhagavatula@marvell.com> In-Reply-To: <20230831204424.13367-2-pbhagavatula@marvell.com> From: Jerin Jacob Date: Wed, 20 Sep 2023 09:52:56 +0530 Message-ID: Subject: Re: [PATCH v2 1/3] eventdev: introduce link profiles To: pbhagavatula@marvell.com Cc: jerinj@marvell.com, sthotton@marvell.com, timothy.mcdaniel@intel.com, hemant.agrawal@nxp.com, sachin.saxena@nxp.com, mattias.ronnblom@ericsson.com, liangma@liangbit.com, peter.mccarthy@intel.com, harry.van.haaren@intel.com, erik.g.carrillo@intel.com, abhinandan.gujjar@intel.com, s.v.naga.harish.k@intel.com, anatoly.burakov@intel.com, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Sep 1, 2023 at 3:10=E2=80=AFAM wrote: > > From: Pavan Nikhilesh > > 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 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.rs= t error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=3Ddiff' 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] $