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 DAE6DA0093; Wed, 9 Mar 2022 02:28:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6CE540687; Wed, 9 Mar 2022 02:28:19 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 29B1440395 for ; Wed, 9 Mar 2022 02:28:18 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id d187so890928pfa.10 for ; Tue, 08 Mar 2022 17:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FLc+9JmQ60ixMT9m+3p1Tm3J8Aqz/eeJgTiCTo1xy74=; b=AK8ArUJ7uVddG/cqiijVfjkrKg/30bhtZcZkz2k6v6fu+kd+hHgiRQunvjpbmA8RLU 7w5gzuDVE5tDfiD7e+dq028xREMQ6z2pinXuffB7oBvDHBSswzYNK2ohgWucl1k+LuT9 FKFrznhFimEfchIeBP/paJ0tu5rZ+9qWTgBXMXs9uzYmJg8mEMKv4hLXoBn4BXRKgKrC RYsio4wjEQbaJVQ+00TBTjOufcvasK6iBx8v2SqLgXzp3CHZ8s0uAi9kjjbkBKfzlqS4 34gDXAkSJl3fWUABc1jO6zIwtzRbRB/pu6yOlPDXzBn8gDNVVX76Ed3Ms4Rd9PHLdkQd FiKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FLc+9JmQ60ixMT9m+3p1Tm3J8Aqz/eeJgTiCTo1xy74=; b=j1RxNQdq98hw/1Ra96zykaQke7eWEhN3FqX+QhEKTE4zQfoXAK/WR/wbiUw/i4R8HA nBu2wD9prSiSYbjcwasdayjjl2jyDNlmQhq6BpqP5vzt790D0bCDR788zHMLIUQ6Ae0m 9Shez9Q0TfeD4l0RRLk3RhQJ4C8Bg7PuhcdWEYVIgz2h7Kn2RFjULcTXaDTiPpOKddX4 f8A2WpQGpddq83euOZaHfTmuFNVRRqDW0PEq21RYBXgmXKzw44yGaQFVMewoFfwpWnLw 2gFD49fi2aIseksadapj/We8+YkBweVcDK4fjOvMQL+hmJZOwVEwyRSgzOSVNlpewj8T 5gFA== X-Gm-Message-State: AOAM531elFB4S0fzCTgasn1U6dwzwH8uezV3zkA/CkDUsG3+CBXSyEvk PpOECxqj64yAn7BjC4G3WKGckw== X-Google-Smtp-Source: ABdhPJzzeSxqIoquEpv7JNAWxuUYr5UpqcSvycNDpbXow+dt2+lV3QoS1Ho3OOU7+tMRHiVIFTnjXA== X-Received: by 2002:a05:6a00:1310:b0:4ca:cc46:20c7 with SMTP id j16-20020a056a00131000b004cacc4620c7mr20982247pfu.44.1646789297367; Tue, 08 Mar 2022 17:28:17 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id x7-20020a17090a1f8700b001bf1db72189sm335772pja.23.2022.03.08.17.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:28:17 -0800 (PST) Date: Tue, 8 Mar 2022 17:28:14 -0800 From: Stephen Hemminger To: Nicolas Chautru Cc: dev@dpdk.org, gakhil@marvell.com, trix@redhat.com, hemant.agrawal@nxp.com, mingshan.zhang@intel.com Subject: Re: [PATCH v1 1/2] bbdev: add device info on queue topology Message-ID: <20220308172814.60ba1d19@hermes.local> In-Reply-To: <1646785355-168133-2-git-send-email-nicolas.chautru@intel.com> References: <1646785355-168133-1-git-send-email-nicolas.chautru@intel.com> <1646785355-168133-2-git-send-email-nicolas.chautru@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 8 Mar 2022 16:22:34 -0800 Nicolas Chautru wrote: > diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h > index b88c881..10c06b6 100644 > --- a/lib/bbdev/rte_bbdev.h > +++ b/lib/bbdev/rte_bbdev.h > @@ -274,6 +274,10 @@ struct rte_bbdev_driver_info { > > /** Maximum number of queues supported by the device */ > unsigned int max_num_queues; > + /** Maximum number of queues supported per operation type */ > + unsigned int num_queues[RTE_BBDEV_OP_TYPE_COUNT]; > + /** Priority level supported per operation type */ > + unsigned int queue_priority[RTE_BBDEV_OP_TYPE_COUNT]; > /** Queue size limit (queue size must also be power of 2) */ > uint32_t queue_size_lim; > /** Set if device off-loads operation to hardware */ This breaks ABI of rte_bbdev_info_get.