From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA1FAA0524; Mon, 7 Dec 2020 15:09:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B908DF12; Mon, 7 Dec 2020 15:09:03 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 097D1A3 for ; Mon, 7 Dec 2020 15:09:02 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id EA9AEA09E5; Mon, 7 Dec 2020 15:09:00 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 07 Dec 2020 14:09:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 20.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: liu.lance.89@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 596] TSO does not support split segment with TIMESTAMP option in the header (Intel Corporation 82599ES 10-Gigabit) 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D596 Bug ID: 596 Summary: TSO does not support split segment with TIMESTAMP option in the header (Intel Corporation 82599ES 10-Gigabit) Product: DPDK Version: 20.08 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: liu.lance.89@gmail.com Target Milestone: --- I try to enable TIMESTAMP option on my userspace tcp stack, and enabled TSO offloading feature, But the problems is that the ixgbe driver not split seg= ment right. Send: ETHER_HEADER(14bytes) + IP_HEADER (20bytes) + TCP_HEADER(20bytes)+=20 TCP_HEADER_OPT (12 bytes) + payload (6400 bytes) TCP_HEADER_OPT : TCP_OPT_NOP(1 byte) + TCP_OPT_NOP(1 byte) + TCP_OPT_TIMEST= AMP (1 byte) + TCP_OPT_TIMESTAMP_LEN (1 byte, value is 10) + ts[0](4 bytes, val= ue is 0) + ts[1] (4 bytes, value is 0) m_buf->tso_size =3D 1460 rightly, it should split this packet to packet[0] (seq -> seq+1459) + packe= t[1] (seq + 1460 -> seq + 2919) + packet[2] (seq + 2920 -> seq + 4379) + packet[= 3] (seq + 4380, seq + 5839) + packet[4] (seq + 5840, seq + 6400) But on the receive side, can only receive 1 packet about this segment (and = it is the last segment) the NIC is as follows: 31:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) Subsystem: Gigabyte Technology Co., Ltd Device ffff Physical Slot: 11 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort- SERR-