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 00B33426B7; Wed, 4 Oct 2023 17:38:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E179402B3; Wed, 4 Oct 2023 17:38:39 +0200 (CEST) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by mails.dpdk.org (Postfix) with ESMTP id D9B37402A9 for ; Wed, 4 Oct 2023 17:38:37 +0200 (CEST) Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-4190890d201so13813781cf.2 for ; Wed, 04 Oct 2023 08:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696433917; x=1697038717; 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=M2qwMA94dMYfGnWOVGGGy02vXzxYGdqRZ5rvYwMuHoI=; b=YjjTf/PoygjQZQrtHPe8gvy2y3ZCDWNUr8PvYqZxe/a4UyNFDne+Kz+OFsR1bwqmAt GNkJ+SRdHA4JjXtjy+A4OfxlHAQM97V1C5TxeJakGzRC58U1nCPAPNR7GmddrPBcHR92 h0fFL/SRnZvejTuD1DNV7JOZ7Ydpq+Yda5qToJ/brda8RlmCgn9q/DSSpxdES8Zo8Z1H ax703/j0QKB+NVfn96lRXSl2O8LqTWzHcEHWEaVUnydTY1S3MoerPqof2tk2ikTpgprg DNDTZ+T4CEHCtfgwuGrMRbGKCUvtIB+4WtNx6glLU4FqztT19fOLGRiP9wGf8rPLTEO0 o5yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696433917; x=1697038717; 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=M2qwMA94dMYfGnWOVGGGy02vXzxYGdqRZ5rvYwMuHoI=; b=DlGnaQqM3EavAf1THn57N4C2Lhl+D6TLhN3RbeZBYYlTmdjFZBNUDgFfhpkXPUC40h fWSxbmNQVlno2E7zbT5HcO3rAZUO5vwXLcmTYXCjyUMHSgvndgEDcAu33R4e25lnuyBY qdWZAvM6eJcFFD0mV1mQJ4tKJclCAQn0unQ+c/a+T+SAJ0Aa80L13ue6L5nRY2quokLc /AiKE98FIitx6PdPE7qw7+RnHzZagLp7iYiQCAW51w0LK6BU5KHlY/ndnTzGCcasqPt2 SlgT/t4szCKTHgPOktkLKfDu3LBLsNqVFIgRdmtR0wl5WnwloNyKJzjLWEHDPHMnt5HW sHHA== X-Gm-Message-State: AOJu0YyVTJnz3A/XIaM+sxYS0Lzf9IIRH+3Vp0a2jXkx0taVf8gAL470 uRGDoq5+WsRz8KhjGUTZqrSugNddI0DThweE2VQ= X-Google-Smtp-Source: AGHT+IEf2fdSnCdTBfFZNirjdeTjiupQz2ipLYmnxn5m/xHUP3wA/hxVDi7fwX849I8DRR+pFQYhD620Qn7bwxq9hhA= X-Received: by 2002:ac8:59cc:0:b0:419:5b6c:be62 with SMTP id f12-20020ac859cc000000b004195b6cbe62mr3165301qtf.4.1696433917091; Wed, 04 Oct 2023 08:38:37 -0700 (PDT) MIME-Version: 1.0 References: <20231003152535.10177-1-pbhagavatula@marvell.com> In-Reply-To: From: Jerin Jacob Date: Wed, 4 Oct 2023 21:08:10 +0530 Message-ID: Subject: Re: [PATCH] eventdev: fix max link profiles info To: Bruce Richardson Cc: pbhagavatula@marvell.com, jerinj@marvell.com, Abdullah Sevincer , Hemant Agrawal , Sachin Saxena , =?UTF-8?Q?Mattias_R=C3=B6nnblom?= , Liang Ma , Peter Mccarthy , Harry van Haaren , 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 Tue, Oct 3, 2023 at 10:47=E2=80=AFPM Bruce Richardson wrote: > > On Tue, Oct 03, 2023 at 08:55:35PM +0530, pbhagavatula@marvell.com wrote: > > From: Pavan Nikhilesh > > > > Since most of the drivers overwrite the info structure passed > > from the common layer it is not possible to set defaults in > > ``rte_event_dev_info_get`` API. > > Initialize default max_profiles_per_port in the driver layer. > > > > Fixes: 162aa4e1b479 ("eventdev: introduce link profiles") > > > > Signed-off-by: Pavan Nikhilesh > > --- > > Please squash to 162aa4e1b479 > > > Confirm that this patch allows the eventdev_pipeline sample to once again > run with the event_sw driver. > > For this solution, if it's chosen over alternatives > > Acked-by: Bruce Richardson Squashed/Rebased this patch and pushed to next-event tree.