From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1C5C4374E for ; Wed, 28 Oct 2015 09:01:50 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 28 Oct 2015 01:01:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,209,1444719600"; d="scan'208";a="821215874" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 28 Oct 2015 01:01:32 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 28 Oct 2015 01:01:32 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 28 Oct 2015 01:01:32 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.194]) with mapi id 14.03.0248.002; Wed, 28 Oct 2015 16:01:30 +0800 From: "Liu, Jijiang" To: Padam Jeet Singh Thread-Topic: [dpdk-dev] Wrong TCP Checkum computed by hardware Thread-Index: AQHREU0LSfHUMsZ/+UOjEIIP9/z6j55/8z2AgAAGJACAAJCC0A== Date: Wed, 28 Oct 2015 08:01:30 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC22BC432E@SHSMSX101.ccr.corp.intel.com> References: <9E9D668A-17B5-4047-85B3-13519F898467@inventum.net> <20151028065757.GA4251@mhcomputing.net> <546F571B-8603-4D0E-95B3-6CE5BAD3EE02@inventum.net> In-Reply-To: <546F571B-8603-4D0E-95B3-6CE5BAD3EE02@inventum.net> 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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Wrong TCP Checkum computed by hardware 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: Wed, 28 Oct 2015 08:01:51 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Padam Jeet Singh > Sent: Wednesday, October 28, 2015 3:20 PM > To: Matthew Hall > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] Wrong TCP Checkum computed by hardware >=20 Did you set the txq_flags? If the flag is not set, the default value is IXGBE_SIMPLE_FLAGS, and the an= y TX offloads do not work. See the following codes in ixgbe_rxtx.c file /* Use a simple Tx queue (no offloads, no multi segs) if possible */ if (((txq->txq_flags & IXGBE_SIMPLE_FLAGS) =3D=3D IXGBE_SIMPLE_FLAGS) && (txq->tx_rs_thresh >=3D RTE_PMD_IXGBE_TX_MAX_BURST)) { PMD_INIT_LOG(INFO, "Using simple tx code path"); ... dev->tx_pkt_burst =3D ixgbe_xmit_pkts_simple; } else { ... dev->tx_pkt_burst =3D ixgbe_xmit_pkts; } --Jijiang Liu