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 9ECE3423C3; Fri, 13 Jan 2023 14:51:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9650842D53; Fri, 13 Jan 2023 14:51:56 +0100 (CET) Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) by mails.dpdk.org (Postfix) with ESMTP id 696C340E03 for ; Fri, 13 Jan 2023 14:51:54 +0100 (CET) Received: by mail-vs1-f52.google.com with SMTP id t10so11698152vsr.3 for ; Fri, 13 Jan 2023 05:51:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ck70CGce64LSS/hweALclxUvH+YTnZNwdZZ11GlArC0=; b=bH6TUQD0F4PGmhtUaP6EMncPS8iK6rgEJmhDtXrploMISRD3O7JmOGtrphJvUbo7ni fozY+EJ8PM7dlGb3oYurCXcYfh5j7eTg44CfzDcUM+2zbOBQFOIyvNHLkz9qGhtYez4P nJyXbkHM8z/NkQ7RYvvFXAaap6fOFD0nyuEviw7nvvSezAAS0AUIphu4rfrijZHVkKlC XeHfuhSzy1zKHvpwN+oIEhJJJhvN7jQt/vm/BGFXl9eUfCbYI3rT1vl8MSqImtbijL2C aO/Tl1kljGjeMnCVfavTUq2wr1iqnqjUQjScTpxSRQJzFDT6ZHn0Iatm4qXIpr4fqfat pI+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=Ck70CGce64LSS/hweALclxUvH+YTnZNwdZZ11GlArC0=; b=s2WmgVdGaQZqaHZJz5F+wEgoC6CrQCyML3CDIdNfOTu+YlcTtPDhpeqEZkPcPdomUW J+0b+ivuB7SBTaivsyD1ESVat7O0+GQ11/mTUxIqHYEBnlWiLbYc4cc0pNlS844onQC4 xMQIWXqlwxLFqtRHBNcIOwgRL+zY6jh4VIJKotMHOEWnjA00fJoyl54FIthlFXEDyF8C H+wghu5gYDs94CBjU/TSlEOMKXEnitZMdCU+aobITO8Y3BX+4UG1S/F4SiYaKT6eI1R7 SsXUWCAz6GI4gOpOLOIwb+OjqvshturZ7ml5c/jcGfoisSQCnmtSEQZdXhj3cfrTiHZf indA== X-Gm-Message-State: AFqh2kqnvMFIzkMrs78wQGvv9Z/4WrNbTL+OXA160fUo+jDqIWBNJiR7 no6FTmGvQYckjuwbs7DWnTKDUwspgVLCBE6Oa/Q= X-Google-Smtp-Source: AMrXdXv/SuZCtkin1qaDQCZBR5OJb+fkskDOhJoUud8ahlAQXTweOUpadG1VO1/r+tCRJBS/SFwK+ht/aJ8ufqC2jjc= X-Received: by 2002:a67:fd97:0:b0:3d0:bfd2:3a12 with SMTP id k23-20020a67fd97000000b003d0bfd23a12mr2337909vsq.52.1673617913724; Fri, 13 Jan 2023 05:51:53 -0800 (PST) MIME-Version: 1.0 References: <20230104064145.2600261-1-s.v.naga.harish.k@intel.com> <20230112163035.1970151-1-s.v.naga.harish.k@intel.com> <20230112163035.1970151-4-s.v.naga.harish.k@intel.com> In-Reply-To: <20230112163035.1970151-4-s.v.naga.harish.k@intel.com> From: Jerin Jacob Date: Fri, 13 Jan 2023 19:21:27 +0530 Message-ID: Subject: Re: [PATCH v7 4/4] eventdev/timer: change eventdev reconfig logic To: Naga Harish K S V Cc: jerinj@marvell.com, erik.g.carrillo@intel.com, abhinandan.gujjar@intel.com, dev@dpdk.org, jay.jayatheerthan@intel.com Content-Type: text/plain; charset="UTF-8" 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 Thu, Jan 12, 2023 at 10:01 PM Naga Harish K S V wrote: > > When rte_event_timer_adapter_create() is used for creating adapter > instance, eventdev is reconfigured with additional > ``rte_event_dev_config::nb_event_ports`` parameter. > > This eventdev reconfig logic is enhanced to increment the > ``rte_event_dev_config::nb_single_link_event_port_queues`` > parameter if the adapter event port config is of type > ``RTE_EVENT_PORT_CFG_SINGLE_LINK``. > > With this change the application is no longer need to configure the > eventdev with ``rte_event_dev_config::nb_single_link_event_port_queues`` > parameter required for timer adapter when the adapter is created > using above mentioned api. > > Signed-off-by: Naga Harish K S V > Acked-by: Abhinandan Gujjar > +* **Updated the eventdev reconfigure logic for service based adapters.** > + > + * This eventdev reconfig logic is enhanced to increment the > + ``rte_event_dev_config::nb_single_link_event_port_queues`` > + parameter if event port config is of type > + ``RTE_EVENT_PORT_CFG_SINGLE_LINK``. > + * With this change, the application no longer needs to account for the > + ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter > + required for adapters. > + * This change is added for eth_rx, eth_tx, crypto and timer eventdev adapters. Updated as following and series applied to dpdk-next-net-eventdev/for-main. Thanks +* **Updated the eventdev reconfigure logic for service based adapters.** + + * eventdev reconfig logic is enhanced to increment the + ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter + if event port config is of type ``RTE_EVENT_PORT_CFG_SINGLE_LINK``. + * With this change, the application no longer needs to account for the + ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter required for + eth_rx, eth_tx, crypto and timer eventdev adapters. +