From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B9E7A04AB; Mon, 31 Aug 2020 04:02:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 13DB21DBD; Mon, 31 Aug 2020 04:02:33 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id CA5EE1515 for ; Mon, 31 Aug 2020 04:02:30 +0200 (CEST) IronPort-SDR: giGk9Eakbs14M4q1zQt9a1L/iiECyImsFVzhN+s8FxpUv+S8nx7sXoYbqq0gWdFeyiLmaon1pc my9WDZeJAsMw== X-IronPort-AV: E=McAfee;i="6000,8403,9729"; a="218448265" X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="218448265" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2020 19:02:29 -0700 IronPort-SDR: BR64UgH6bQQm4h6Oz4192iayFbuOcQ8SxaulP4fKk+zb6w/Iv5t5fNpUG7I+kVTrlPa+C291xc pSGu9yGh2+Gg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="330553748" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga008.jf.intel.com with ESMTP; 30 Aug 2020 19:02:29 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 30 Aug 2020 19:01:22 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 30 Aug 2020 19:01:22 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Aug 2020 19:01:21 -0700 Received: from shsmsx107.ccr.corp.intel.com ([169.254.9.141]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.115]) with mapi id 14.03.0439.000; Mon, 31 Aug 2020 10:01:18 +0800 From: "Zhang, Qi Z" To: "Yang, SteveX" , "Yang, Qiming" , "Xing, Beilei" , "Guo, Jia" , "dev@dpdk.org" CC: "Yang, SteveX" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: i40evf exposes LSC flag to application. Thread-Index: AQHWb79hUnZx01kdF0q3eMM/3crGhalRlLtA Date: Mon, 31 Aug 2020 02:01:17 +0000 Message-ID: <039ED4275CED7440929022BC67E706115522E0B5@SHSMSX107.ccr.corp.intel.com> References: <20200811091040.24602-1-stevex.yang@intel.com> In-Reply-To: <20200811091040.24602-1-stevex.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: i40evf exposes LSC flag to application. 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" > -----Original Message----- > From: dev On Behalf Of SteveX Yang > Sent: Tuesday, August 11, 2020 5:11 PM > To: Yang, Qiming ; Xing, Beilei > ; Guo, Jia ; dev@dpdk.org > Cc: Yang, SteveX > Subject: [dpdk-dev] [PATCH] net/i40e: i40evf exposes LSC flag to applicat= ion. >=20 > When PF event VIRTCHNL_EVENT_LINK_CHANGE received, i40evf need update > the link status and issue RTE_ETH_EVENT_INTR_LSC via > _rte_eth_dev_callback_process(). The implementation is incomplete,=20 To support LSC in i40evf, please 1. add RTE_PCI_DRV_INTR_LSC in drv_flags 2. make sure dev_conf.intr_conf.lsc can be configure with 1 3.update i40e_vf.ini.