From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1A285695D for ; Tue, 28 Mar 2017 09:59:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490687941; x=1522223941; h=from:to:subject:date:message-id; bh=Q5ceyLwf2+ZSux8zTSNWpZsQX6BnTuFd7JGtr9tm0Mw=; b=H1hB1kCa83OpMJyFsOrkiX3/uoTLWM1yMIOKB7R2Tfb1yVb1YQz0e8ez sfr+2Ju6NxDQ4bWKv3DMy838ZJxgqQ==; Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 00:58:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,235,1486454400"; d="scan'208";a="1112857146" Received: from dpdk1.bj.intel.com ([172.16.182.84]) by orsmga001.jf.intel.com with ESMTP; 28 Mar 2017 00:58:58 -0700 From: Wei Zhao To: dev@dpdk.org Date: Tue, 28 Mar 2017 15:52:38 +0800 Message-Id: <1490687561-3742-1-git-send-email-wei.zhao1@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH v2 0/3] net/i40e: vf port reset 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: , X-List-Received-Date: Tue, 28 Mar 2017 07:59:01 -0000 The patches mainly finish following functions: 1) get pf reset vf comamand falg from interrupt server function. 2) reset vf port from testpmd app using a command. 3) sore and restore vf related parameters. v2: -change the order of patch in the set. -add more details in patch comment to clarify that the rte and tespmd patch can also used in pf port reset. -add rte_free for memory free after restore. -change varible name of reset_number to reset_falg. -fix patch check warning. zhao wei (3): app/testpmd: add port reset command into testpmd lib/librte_ether: add support for port reset net/i40e: implement device reset on port app/test-pmd/cmdline.c | 17 ++- app/test-pmd/testpmd.c | 63 +++++++++++ app/test-pmd/testpmd.h | 1 + drivers/net/i40e/i40e_ethdev.c | 2 +- drivers/net/i40e/i40e_ethdev.h | 16 +++ drivers/net/i40e/i40e_ethdev_vf.c | 185 +++++++++++++++++++++++++++++++++ drivers/net/i40e/i40e_rxtx.c | 10 ++ drivers/net/i40e/i40e_rxtx.h | 4 + lib/librte_ether/rte_ethdev.c | 17 +++ lib/librte_ether/rte_ethdev.h | 25 +++++ lib/librte_ether/rte_ether_version.map | 6 ++ 11 files changed, 341 insertions(+), 5 deletions(-) -- 2.9.3