[v3,0/4] some fixes for AF_XDP pmd
Message ID | 20190417085653.110559-1-xiaolong.ye@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 218011B5CE; Wed, 17 Apr 2019 11:02:43 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id DB8781B5CA for <dev@dpdk.org>; Wed, 17 Apr 2019 11:02:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2019 02:02:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,361,1549958400"; d="scan'208";a="165467572" Received: from yexl-server.sh.intel.com ([10.67.110.206]) by fmsmga001.fm.intel.com with ESMTP; 17 Apr 2019 02:02:38 -0700 From: Xiaolong Ye <xiaolong.ye@intel.com> To: dev@dpdk.org, Ferruh Yigit <ferruh.yigit@intel.com>, David Marchand <david.marchand@redhat.com> Cc: Qi Zhang <qi.z.zhang@intel.com>, Karlsson Magnus <magnus.karlsson@intel.com>, Topel Bjorn <bjorn.topel@intel.com>, Xiaolong Ye <xiaolong.ye@intel.com> Date: Wed, 17 Apr 2019 16:56:49 +0800 Message-Id: <20190417085653.110559-1-xiaolong.ye@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <CAJFAV8y=fHuFWrbuH7fHB3kAHxiQMexmPSKvN+4v1nKVv3QAcg@mail.gmail.com> References: <CAJFAV8y=fHuFWrbuH7fHB3kAHxiQMexmPSKvN+4v1nKVv3QAcg@mail.gmail.com> Subject: [dpdk-dev] [PATCH v3 0/4] some fixes for AF_XDP pmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Xiaolong Ye
April 17, 2019, 8:56 a.m. UTC
This patchset provides some fixes to af_xdp pmd, at first, I just added a simple error handling when Tx queue allocation fails, then David suggested a better way to do it and pointed out the inconsistent issue of reserve/submit ops (for Tx queue) and peek/release ops (for Rx queue), the third patch addressed this. v3 changes: - address David's review comments - add one patch to specify the mtu range - add one fix patch for typo v2 changes: - adopt David's suggestion to refactor the code Xiaolong Ye (4): net/af_xdp: enqueue buf ring when allocate Tx queue fails net/af_xdp: specify minimal and maximal MTU net/af_xdp: make reserve/submit peek/release consistent net/af_xdp: fix typos in Rx function drivers/net/af_xdp/rte_eth_af_xdp.c | 96 +++++++++++++++++------------ 1 file changed, 55 insertions(+), 41 deletions(-)