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 4EE47A00C4; Fri, 1 Jul 2022 18:45:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F21040E03; Fri, 1 Jul 2022 18:45:50 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id D268340A7D for ; Fri, 1 Jul 2022 18:45:48 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id g7so3126556pjj.2 for ; Fri, 01 Jul 2022 09:45:48 -0700 (PDT) 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=IUB7BJeV5SU0kCoZJYmKRkVis8bhhTf+FOQa53P/xuU=; b=b/ZuKTdPUfA+JhQaECFNpMXAHbv3INhLt9E0c3qpcdQzuePMN+uQL41D+j4BZcOHFH SErUZJ3csGKkPDW606AykPKGvAO14OZbhfH2iLb/owZzvwmKeU67SGTHwui03dstoxGL 5iRyn+62/TQgfMCNls+WBwhlNfTspc4j/Bf5OosNS6YFTaBOfy09dAMvDuxLu0t2SvmF 7wKpq1rhqRS4waIG0FqPbBcHP9L1bz7htChZL5wYZqXSt4dHKC11k+5rajmW/L/79cXq m0ZOaHl4xdkUDtrJa6UF/2WPtwXqNkyUfsgg8luYG2Ik3243nOHqJCcZo6kIHCQMRO5V MZxg== 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=IUB7BJeV5SU0kCoZJYmKRkVis8bhhTf+FOQa53P/xuU=; b=iPjuDDIfHj/42oGJx67f5W+eF63T9TdJfQXn4DTyqnjWQc6yIV2FFy0v1gEagxMZc6 xFHtBggvNcueHDyJpafHyn3pXdcXhoXPtSSXn7X78O2Uv6BLri5Xk6d+wH40rQ89kVva A/nnwvPgfp94MHOyIoIaeH0X9oBf4gKyZwsCheH7BXWEPxYVDbK17TPrba8gZDsloTWY AJojhtAM5Xb+pGXLhFZq/GRscDUdTXEuYa8C4Hal55fXocOA9kk3lZh7QqvD2yMfLRzm 9fFx2toJ0XmbkNVnLjcgnCW2RfXRGeo5NfOlUCm1hX3ctA/ZuE/5EKcWWmKpwpCjU4HE WbRQ== X-Gm-Message-State: AJIora8gYemGf++R3VA3MPdk6CM/UHLii63HZOFwgVHGajQXbi2BU3BR FIanijXMlxE8X2rl1L8dsyGeLw== X-Google-Smtp-Source: AGRyM1s3GYSy4sVWwUZ2AgAIHvcrO6bnfeNlpxKWtyPj4q8lFmqpZDNJBgl5Lwa+kG+GC+whVMK//A== X-Received: by 2002:a17:903:1111:b0:16a:acf4:e951 with SMTP id n17-20020a170903111100b0016aacf4e951mr21898611plh.72.1656693948061; Fri, 01 Jul 2022 09:45:48 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id q26-20020aa7983a000000b0051b95c76752sm15860196pfl.153.2022.07.01.09.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jul 2022 09:45:47 -0700 (PDT) Date: Fri, 1 Jul 2022 09:45:45 -0700 From: Stephen Hemminger To: longli@linuxonhyperv.com Cc: longli@microsoft.com, Ferruh Yigit , dev@dpdk.org, Ajay Sharma , Stephen Hemminger Subject: Re: [PATCH 01/17] net/mana: add basic driver, build environment and doc Message-ID: <20220701094545.46690c42@hermes.local> In-Reply-To: <1656666167-26035-2-git-send-email-longli@linuxonhyperv.com> References: <1656666167-26035-1-git-send-email-longli@linuxonhyperv.com> <1656666167-26035-2-git-send-email-longli@linuxonhyperv.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 Fri, 1 Jul 2022 02:02:31 -0700 longli@linuxonhyperv.com wrote: > + > +struct mana_priv { > + struct rte_eth_dev_data *dev_data; > + struct mana_process_priv *process_priv; > + int num_queues; > + > + /* DPDK port */ > + int port_id; > + > + /* IB device port */ > + int dev_port; Are the port values and number of queues really signed? Best to use unsigned value of specific size.