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 A0A00A2EEB for ; Thu, 12 Sep 2019 07:07:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 57BBF1E4ED; Thu, 12 Sep 2019 07:07:32 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 894851E4E0 for ; Thu, 12 Sep 2019 07:07:31 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 7E155A2EED; Thu, 12 Sep 2019 07:07:31 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 12 Sep 2019 05:07:31 +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: 18.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xiao.zhang@intel.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 cc target_milestone resolution 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 294] max_rx_pkt_len issues with i40e dpdk SRIOV driver (net_i40e_vf). 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=3D294 Bug ID: 294 Summary: max_rx_pkt_len issues with i40e dpdk SRIOV driver (net_i40e_vf). Product: DPDK Version: 18.02 Hardware: x86 OS: All Status: RESOLVED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: lavaraj@gmail.com CC: xiao.zhang@intel.com Target Milestone: --- CC: xiao.zhang@intel.com Status: RESOLVED Resolution: DUPLICATE max_rx_pkt_len issues with i40e dpdk SRIOV driver (net_i40e_vf). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D When deployed an SRIOV setup with Intel=C2=AE Ethernet 700 Series 40GB NIC,= we noticed the traffic with default mtu (1500) is not working. The maximum MSS which was worked is 1456 ( instead of the default value 146= 0). On debugging, it is found that the driver is actually setting the dev_data->dev_conf.rxmode.max_rx_pkt_len to 1518(ETHER_MAX_LEN) which is wr= ong. The max len is not including the vlan tag len( also not including QinQ). The ETH Overhead is defined as below #define I40E_ETH_OVERHEAD \ (ETHER_HDR_LEN + ETHER_CRC_LEN + I40E_VLAN_TAG_SIZE * 2) which is equal to 26 so for supporting an MTU size of 1500, the max_rx_pkt_len should be 1526 in= tead of 1518. The i40evf_dev_mtu_set API also wrongly checking the framesize against ETHER_MAX_LEN(1518) to set the jumbo_frame mode. The attached patch resolved the issue for our testing.=20 Please verify and fix the issue. Thanks and Regards, Lava --- Comment #1 from Xiao Zhang (xiao.zhang@intel.com) --- duplicate of 296 *** This bug has been marked as a duplicate of bug 296 *** --=20 You are receiving this mail because: You are the assignee for the bug.=