From patchwork Fri Apr 12 13:52:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Wang X-Patchwork-Id: 52714 Return-Path: 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 BB13C1B129; Fri, 12 Apr 2019 16:03:29 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id DEFCF6833 for ; Fri, 12 Apr 2019 16:03:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2019 07:03:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,341,1549958400"; d="scan'208";a="133735399" Received: from unknown (HELO npg-dpdk-cvl-yingwang-117d94.sh.intel.com) ([10.67.117.94]) by orsmga008.jf.intel.com with ESMTP; 12 Apr 2019 07:03:26 -0700 From: Wang Ying A To: wenzhuo.lu@intel.com, qiming.yang@intel.com Cc: dev@dpdk.org, Wang Ying A Date: Fri, 12 Apr 2019 21:52:17 +0800 Message-Id: <1555077139-244831-1-git-send-email-ying.a.wang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/2] ice: code clean and promisc mode fix 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" Patch 1/2 modifies the variable type of "status" from "uint16_t" to "int" to follow the standard programming style. Patch 2/2 adds a return value check to give user a correct prompt. Wang Ying A (2): net/ice: code clean net/ice: fix promiscuous mode drivers/net/ice/ice_ethdev.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)