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 E8E9A7F50; Tue, 17 Apr 2018 10:32:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 01:32:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,462,1517904000"; d="scan'208";a="48503401" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 17 Apr 2018 01:32:41 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 01:32:41 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 01:32:41 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.40]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.109]) with mapi id 14.03.0319.002; Tue, 17 Apr 2018 16:32:39 +0800 From: "Yao, Lei A" To: "Dai, Wei" , "Lu, Wenzhuo" , "Ananyev, Konstantin" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/ixgbe: fix missing suppport of multi-segs offloading Thread-Index: AQHT1iJ8vELz9Yf7zkGMAUfHsPuMsaQEoJog Date: Tue, 17 Apr 2018 08:32:38 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D953A419C19@SHSMSX101.ccr.corp.intel.com> References: <1523951030-32261-1-git-send-email-wei.dai@intel.com> In-Reply-To: <1523951030-32261-1-git-send-email-wei.dai@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjY0NTJkODUtZDcxNy00YmJlLTk0YjctYzFiMmFjOGE1MjEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik1cL3EzVFNoMWVhSlZTdUVydU5GdXc0NFVOdFpsYnZ2aDkwQzJlV3h2VU5BPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 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/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 08:32:43 -0000 > -----Original Message----- > From: Dai, Wei > Sent: Tuesday, April 17, 2018 3:44 PM > 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 >=20 > This patch adds missing supported Tx multi-segs offloading. >=20 > Fixes: 51215925a32f ("net/ixgbe: convert to new Tx offloads API") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Dai Tested-by: Lei Yao This patch can fix the vhost-sample launch issue, the virtio VM2VM Iperf test can pass with this patch on ixgbe NIC.=20 > --- > drivers/net/ixgbe/ixgbe_rxtx.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxt= x.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; >=20 > if (hw->mac.type =3D=3D ixgbe_mac_82599EB || > hw->mac.type =3D=3D ixgbe_mac_X540) > -- > 2.7.5