From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8D3952C49 for ; Tue, 8 Mar 2016 08:58:07 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 07 Mar 2016 23:58:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,555,1449561600"; d="scan'208";a="919146089" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 07 Mar 2016 23:58:06 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 7 Mar 2016 23:58:06 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.24]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.132]) with mapi id 14.03.0248.002; Tue, 8 Mar 2016 15:57:55 +0800 From: "Liu, Yong" To: "Wang, Xiao W" , "Chen, Jing D" Thread-Topic: [dpdk-dev] [PATCH v5 0/2] fm10k: enable FTAG based forwarding Thread-Index: AQHRdHV9Lmkmew4z5EKSHPoeF/JCXZ9PN20w Date: Tue, 8 Mar 2016 07:57:54 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E145048CA@SHSMSX103.ccr.corp.intel.com> References: <1456810601-7419-2-git-send-email-xiao.w.wang@intel.com> <1456917554-30257-1-git-send-email-xiao.w.wang@intel.com> In-Reply-To: <1456917554-30257-1-git-send-email-xiao.w.wang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjU4NGIzM2QtNGE3Mi00YjM5LThhZWItZWI3NGEwYjUxMTM4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlwvalNaVDFOT3dkNmorWDh4eHhBaFwvR3RqODJudXBRZWZVNkFyb3BNYW5pOD0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v5 0/2] fm10k: enable FTAG based forwarding X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 07:58:08 -0000 Tested-by: Yong Liu - Tested Branch: dpdk-next-net/rel_16_04 - Tested Commit: 4ac366ba647909c3b71818f9be9db86ba5e871da - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc version 4.8.3 20140911 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Device RedrockCanyou [8086:15a4] - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 1 cases, 1 passed, 0 failed - Prerequisites command / instruction: Apply fm_ftag unit test patch. export Port0 and Port1's GLORT ID to environment variables export PORT1_GLORT=3D0x4200 export PORT0_GLORT=3D0x4000 - Case: Ftag forwarding unit test Description: check fm10k nic can forwarding packets based on FTAG Command / instruction: Start test application and run fm10k_ftag_autotest test -c f -n 4 -w 83:00.0,enable_ftag=3D1 -w 85:00.0,enable_ftag=3D1 RTE>>fm10k_ftag_autotest Send packet to Port0 and verify packet forwarded to Port1 Receive 1 packets on port 0 test for FTAG RX passed Send out 1 packets with FTAG on port 0 Receive 1 packets on port 1 test for FTAG TX passed Test OK > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wang Xiao W > Sent: Wednesday, March 02, 2016 7:19 PM > To: Chen, Jing D > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v5 0/2] fm10k: enable FTAG based forwarding >=20 > v5: > * Used kvargs api to parse the devargs parameter. > * Put release note into the driver patch. >=20 > v4: > * Removed the build time config option, used devargs to config FTAG. > * Rebased on head of dpdk-next-net/rel_16_04 branch. >=20 > v3: > * Removed "\n" in PMD_INIT_LOG. > * Returned "-ENOTSUP" instead of -1 in VF FTAG use case. >=20 > v2: > * Gave an error message for VF FTAG use case. > * Added a notice in the doc to emphasize that application should ensure > an appropriate FTAG for every frame in FTAG based forwarding mode. >=20 > Wang Xiao W (2): > fm10k: enable FTAG based forwarding > doc: add introduction for fm10k FTAG based forwarding >=20 > doc/guides/nics/fm10k.rst | 16 ++++++++- > doc/guides/rel_notes/release_16_04.rst | 2 ++ > drivers/net/fm10k/fm10k.h | 2 ++ > drivers/net/fm10k/fm10k_ethdev.c | 65 > +++++++++++++++++++++++++++++++++- > drivers/net/fm10k/fm10k_rxtx.c | 15 ++++++++ > drivers/net/fm10k/fm10k_rxtx_vec.c | 3 ++ > 6 files changed, 101 insertions(+), 2 deletions(-) >=20 > -- > 1.9.3