From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <yongwang@vmware.com> Received: from EX13-EDG-OU-002.vmware.com (ex13-edg-ou-002.vmware.com [208.91.0.190]) by dpdk.org (Postfix) with ESMTP id E2C075A35 for <dev@dpdk.org>; Sat, 13 Aug 2016 03:15:02 +0200 (CEST) Received: from sc9-mailhost3.vmware.com (10.113.161.73) by EX13-EDG-OU-002.vmware.com (10.113.208.156) with Microsoft SMTP Server id 15.0.1156.6; Fri, 12 Aug 2016 18:14:05 -0700 Received: from sc2-edge-ivybridge-01.eng.vmware.com (unknown [10.172.139.164]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id BAB62404CA; Fri, 12 Aug 2016 18:14:59 -0700 (PDT) From: Yong Wang <yongwang@vmware.com> To: <stephen@networkplumber.org> CC: <dev@dpdk.org>, <sothy.e98@gmail.com>, <gyang@vmware.com>, <diproiettod@vmware.com>, Yong Wang <yongwang@vmware.com> Date: Fri, 12 Aug 2016 17:58:25 -0700 Message-ID: <1471049909-18117-1-git-send-email-yongwang@vmware.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: None (EX13-EDG-OU-002.vmware.com: yongwang@vmware.com does not designate permitted sender hosts) Subject: [dpdk-dev] [PATCH 0/4] various vmxnet3 fixes and enhancement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Sat, 13 Aug 2016 01:15:03 -0000 This patchset includes a few bug fixes and some enhancement. (1) a bug fix with dev_configure memzone size; (2) enhanced error checks during device start. In particular, the driver will now report error if the rx queue number is not a power of two, instead of waiting for the activation to fail. Instead of returning -1 (which is interpreted as -EPERM) on device activation failure, -EINVAL is returned to avoid confusion. (3) enables LRO if requested. Yong Wang (4): net/vmxnet3: improve error checks and return values net/vmxnet3: coding style changes net/vmxnet3: reallocate shared memzone on re-config net/vmxnet3: enable lro drivers/net/vmxnet3/vmxnet3_ethdev.c | 125 +++++++++++++++++++++-------------- drivers/net/vmxnet3/vmxnet3_ethdev.h | 32 +++++---- drivers/net/vmxnet3/vmxnet3_ring.h | 22 +++--- drivers/net/vmxnet3/vmxnet3_rxtx.c | 59 +++++++++-------- 4 files changed, 134 insertions(+), 104 deletions(-) -- 1.9.1