From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8C01C433E3 for ; Thu, 20 Aug 2020 09:04:18 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 3C680207FB for ; Thu, 20 Aug 2020 09:04:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C680207FB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=chinasoftinc.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1F4931BEC3; Thu, 20 Aug 2020 11:04:17 +0200 (CEST) Received: from mail.chinasoftinc.com (unknown [114.113.233.8]) by dpdk.org (Postfix) with ESMTP id B7D011BEBA for ; Thu, 20 Aug 2020 11:04:14 +0200 (CEST) Received: from localhost.localdomain (65.49.108.226) by INCCAS002.ito.icss (10.168.0.60) with Microsoft SMTP Server id 14.3.487.0; Thu, 20 Aug 2020 17:04:08 +0800 From: "Wei Hu (Xavier)" To: CC: Date: Thu, 20 Aug 2020 17:03:48 +0800 Message-ID: <20200820090351.3780-1-huwei013@chinasoftinc.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200818025132.27912-1-huwei013@chinasoftinc.com> References: <20200818025132.27912-1-huwei013@chinasoftinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [65.49.108.226] Subject: [dpdk-dev] [PATCH v3 0/3] minor updates for getting queue info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This series include 3 patches. One patch is a minor update to add checking whether the related Tx or Rx queue has been setuped in the rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get API function to avoid illegal address access. And the other two patches for hns3 PMD driver. Huisong Li (1): net/hns3: support getting Tx and Rx queue information Wei Hu (Xavier) (2): net/hns3: report Rx drop packets enable configuration ethdev: check if queue setupped when getting queue info drivers/net/hns3/hns3_ethdev.c | 11 +++++++++ drivers/net/hns3/hns3_ethdev_vf.c | 11 +++++++++ drivers/net/hns3/hns3_rxtx.c | 39 +++++++++++++++++++++++++++++++ drivers/net/hns3/hns3_rxtx.h | 5 +++- lib/librte_ethdev/rte_ethdev.c | 16 +++++++++++++ 5 files changed, 81 insertions(+), 1 deletion(-) -- 2.27.0