From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 537EA4C91 for ; Mon, 10 Sep 2018 18:16:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 09:16:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,356,1531810800"; d="scan'208";a="231680990" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga004.jf.intel.com with ESMTP; 10 Sep 2018 09:16:26 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.116]) by IRSMSX109.ger.corp.intel.com ([169.254.13.156]) with mapi id 14.03.0319.002; Mon, 10 Sep 2018 17:16:25 +0100 From: "Iremonger, Bernard" To: "Laatz, Kevin" , "dev@dpdk.org" Thread-Topic: [PATCH] app/testpmd: add check for rx offload security flag Thread-Index: AQHUREt3KnYB8NlT1k2G7B9/juOL9KTpumbg Date: Mon, 10 Sep 2018 16:16:25 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260CED673@IRSMSX107.ger.corp.intel.com> References: <20180904123256.61631-1-kevin.laatz@intel.com> In-Reply-To: <20180904123256.61631-1-kevin.laatz@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDM1NGVlNTQtNTNmZi00Y2FhLWJhNmItNTgxM2Y0NDNlNjViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib3JLZEZBU2Z2Q0ZLa0FORFdWaDNudXBZZWtnVVRCOU9kNitDcmIwaG94dWh0UUpONW5Tek05ZHY0ZXRwdE82QiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag 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: Mon, 10 Sep 2018 16:16:28 -0000 Hi Kevin, > -----Original Message----- > From: Laatz, Kevin > Sent: Tuesday, September 4, 2018 1:33 PM > To: dev@dpdk.org > Cc: Iremonger, Bernard ; Laatz, Kevin > > Subject: [PATCH] app/testpmd: add check for rx offload security flag >=20 > Add a check for the DEV_RX_OFFLOAD_SECURITY flag to the > port_offload_cap_display(). >=20 > Signed-off-by: Kevin Laatz > --- > app/test-pmd/config.c | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index > 14ccd68..4c60c7e 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -594,6 +594,15 @@ port_offload_cap_display(portid_t port_id) > printf("off\n"); > } >=20 > + if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_SECURITY) { > + printf("RX offload security: "); > + if (ports[port_id].dev_conf.rxmode.offloads & > + DEV_RX_OFFLOAD_SECURITY) > + printf("on\n"); > + else > + printf("off\n"); > + } > + > if (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_VLAN_INSERT) { > printf("VLAN insert: "); > if (ports[port_id].dev_conf.txmode.offloads & > -- > 2.9.5 ./devtools/check-git-log.sh -1 Wrong headline lowercase: app/testpmd: add check for rx offload security flag Regards, Bernard.