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 12A73A0032; Thu, 12 May 2022 12:59:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 00FE740E64; Thu, 12 May 2022 12:59:40 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 38D104014F for ; Thu, 12 May 2022 12:59:38 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id BCA8C82; Thu, 12 May 2022 13:59:37 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru BCA8C82 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1652353177; bh=tjVqFDIvuuhY6FeLCkvFj8N7R4d2AV6uT37znppN2dg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mbVYhvHizBWTQeyl8dIwRlTv4QGC7Yi4I5vBRrIrRX0mU/du/+9NG26syROuJ4GyD KF+g5uVVCn0EJM1s3TwoL4oh/eobPebebX6Gnv5+H8y2syCc4XAZhTVGdpBtUjCwUr J2NJYltg2v/ezoAY9NUGtJxYXBKQobVkd9/mpdQY= Message-ID: Date: Thu, 12 May 2022 13:59:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v4 3/8] net/vmxnet3: add Rx queue usage count utility Content-Language: en-US To: Pankaj Gupta , jbehrens@vmware.com, yongwang@vmware.com Cc: dev@dpdk.org References: <20220505220019.31166-1-pagupta@vmware.com> <20220505220019.31166-4-pagupta@vmware.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220505220019.31166-4-pagupta@vmware.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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 5/6/22 01:00, Pankaj Gupta wrote: > Count the number of entries in the Rx queue for debugging. > > Tested, using testpmd, for different hardware version on ESXi 7.0 Update 2 > > Signed-off-by: Pankaj Gupta > Reviewed-by: Jochen Behrens [snip] > diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c > index d5f9903946..2725e49ae9 100644 > --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c > +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c > @@ -294,6 +294,7 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev) > eth_dev->rx_pkt_burst = &vmxnet3_recv_pkts; > eth_dev->tx_pkt_burst = &vmxnet3_xmit_pkts; > eth_dev->tx_pkt_prepare = vmxnet3_prep_pkts; > + eth_dev->rx_queue_count = vmxnet3_dev_rx_queue_count, checkpatches.sh catches incorrect usage of comma instead of semi-colon above. Please, fix. [snip]