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 6AEF51B3E4 for ; Tue, 3 Oct 2017 23:42:54 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Oct 2017 14:42:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,475,1500966000"; d="scan'208";a="906381276" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.241.224.245]) ([10.241.224.245]) by FMSMGA003.fm.intel.com with ESMTP; 03 Oct 2017 14:42:53 -0700 To: Kirill Rybalchenko , dev@dpdk.org Cc: andrey.chilikin@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com References: <1505917983-119112-1-git-send-email-kirill.rybalchenko@intel.com> <1506956942-59123-1-git-send-email-kirill.rybalchenko@intel.com> <1506956942-59123-5-git-send-email-kirill.rybalchenko@intel.com> From: Ferruh Yigit Message-ID: Date: Tue, 3 Oct 2017 22:42:53 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1506956942-59123-5-git-send-email-kirill.rybalchenko@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 4/5] app/testpmd: add new commands to manipulate with pctype mapping 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, 03 Oct 2017 21:42:55 -0000 On 10/2/2017 4:09 PM, Kirill Rybalchenko wrote: > Add new commands to manipulate with dynamic flow type to > pctype mapping table in i40e PMD. > Commands allow to print table, modify it and reset to default value. > > v3: > changed command syntax from 'pctype mapping...' to > 'port config pctype mapping...' and 'show port pctype mapping' > > v4: > Fix typos in cmdline.c and documentation. > Move variable declaration to the beginning of function. > > Signed-off-by: Kirill Rybalchenko <...> > > @@ -1310,6 +1318,27 @@ Reset ptype mapping table:: > > testpmd> ptype mapping reset (port_id) > > +pctype mapping > +~~~~~~~~~~~~~~ > + > +List all items from the pctype mapping table:: > + > + testpmd> pctype mapping get (port_id) > + > +Update hardware defined pctype to software defined flow type mapping table:: > + > + testpmd> pctype mapping update (port_id) (pctype_id_0[,pctype_id_1]*) (flow_type_d) > + > +where: > + > +* ``pctype_id_x``: hardware pctype id as index of bit in bitmask value of the pctype mapping table. > + > +* ``flow_type_id``: software flow type id as the index of the pctype mapping table. > + > +Reset pctype mapping table:: > + > + testpmd> pctype mapping reset (port_id) > + This part looks like outdated and coming from prev version of the patch? > Port Functions > -------------- > <...>