From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9C644D592; Tue, 17 Apr 2018 18:16:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 09:16:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,464,1517904000"; d="scan'208";a="32655220" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 17 Apr 2018 09:16:23 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 09:16:23 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 09:16:23 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.240]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.109]) with mapi id 14.03.0319.002; Wed, 18 Apr 2018 00:16:21 +0800 From: "Zhang, Helin" To: "Ananyev, Konstantin" , "Dai, Wei" , "Lu, Wenzhuo" , "Yao, Lei A" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/ixgbe: fix missing suppport of multi-segs offloading Thread-Index: AQHT1iJ5w0geeqyiL0yxQ9fXQ7Z4QqQEtGMAgABuHPA= Date: Tue, 17 Apr 2018 16:16:21 +0000 Message-ID: References: <1523951030-32261-1-git-send-email-wei.dai@intel.com> <2601191342CEEE43887BDE71AB977258AE9169EB@IRSMSX102.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB977258AE9169EB@IRSMSX102.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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/ixgbe: fix missing suppport of multi-segs offloading 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, 17 Apr 2018 16:16:25 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Tuesday, April 17, 2018 5:43 PM > To: Dai, Wei; Lu, Wenzhuo; Yao, Lei A > Cc: dev@dpdk.org; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix missing suppport of multi-= segs > offloading >=20 >=20 >=20 > > -----Original Message----- > > From: Dai, Wei > > Sent: Tuesday, April 17, 2018 8:44 AM > > To: Lu, Wenzhuo ; Ananyev, Konstantin > > ; Yao, Lei A > > Cc: dev@dpdk.org; Dai, Wei ; stable@dpdk.org > > Subject: [PATCH] net/ixgbe: fix missing suppport of multi-segs > > offloading > > > > This patch adds missing supported Tx multi-segs offloading. > > > > Fixes: 51215925a32f ("net/ixgbe: convert to new Tx offloads API") > > Cc: stable@dpdk.org > > > > Signed-off-by: Wei Dai > > --- > > drivers/net/ixgbe/ixgbe_rxtx.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c > > b/drivers/net/ixgbe/ixgbe_rxtx.c index 7511e18..aed3f5a 100644 > > --- a/drivers/net/ixgbe/ixgbe_rxtx.c > > +++ b/drivers/net/ixgbe/ixgbe_rxtx.c > > @@ -2429,7 +2429,8 @@ ixgbe_get_tx_port_offloads(struct rte_eth_dev > *dev) > > DEV_TX_OFFLOAD_UDP_CKSUM | > > DEV_TX_OFFLOAD_TCP_CKSUM | > > DEV_TX_OFFLOAD_SCTP_CKSUM | > > - DEV_TX_OFFLOAD_TCP_TSO; > > + DEV_TX_OFFLOAD_TCP_TSO | > > + DEV_TX_OFFLOAD_MULTI_SEGS; > > > > if (hw->mac.type =3D=3D ixgbe_mac_82599EB || > > hw->mac.type =3D=3D ixgbe_mac_X540) > > -- > > 2.7.5 >=20 > Acked-by: Konstantin Ananyev Applied to dpdk-next-net-intel, thanks! /Helin