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 72A20A04B7; Wed, 14 Oct 2020 11:21:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76B661DCB1; Wed, 14 Oct 2020 11:21:26 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 56B251D9A8 for ; Wed, 14 Oct 2020 11:21:25 +0200 (CEST) IronPort-SDR: 1Oc5TaaAweiaOmmutXnYN1IuIcQ7brEd1r67IE9klOSJKTMu5qw1QDm2NMLaSwy/DDAQ3JOYoo DUdw0Iq34j8w== X-IronPort-AV: E=McAfee;i="6000,8403,9773"; a="183585305" X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="183585305" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 02:21:23 -0700 IronPort-SDR: 2oTy4nnpk5Bxvx2BVDO3K8t6n4uuRNkX5OsHIJFb5Be0R0k7oGUpE43rDLCsqhYRFhmjfp0Q2V stqvkBJsBHhA== X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="530752252" Received: from intel-npg-odc-srv01.cd.intel.com ([10.240.178.136]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 02:21:20 -0700 From: SteveX Yang To: dev@dpdk.org Cc: jia.guo@intel.com, qiming.yang@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, konstantin.ananyev@intel.com, SteveX Yang Date: Wed, 14 Oct 2020 09:19:40 +0000 Message-Id: <20201014091945.1934-1-stevex.yang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200928065541.7520-1-stevex.yang@intel.com> References: <20200928065541.7520-1-stevex.yang@intel.com> Subject: [dpdk-dev] [PATCH v5 0/5] fix default max mtu size when device configured 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" when application presets the max rx packet length and expected mtu at the same time, driver need identify if the preset max frame size can hold mtu data and Ether overhead completely. if not, adjust the max frame size via mtu_set ops within dev_configure. v5: * update comments and commit messages; v4: * add the adjust condition for max_rx_pkt_len; v3: * change the i40evf relative code; v2: * change the max_rx_pkt_len via mtu_set ops; SteveX Yang (5): net/e1000: fix max mtu size packets with vlan tag cannot be received by default net/igc: fix max mtu size packets with vlan tag cannot be received by default net/ice: fix max mtu size packets with vlan tag cannot be received by default net/i40e: fix max mtu size packets with vlan tag cannot be received by default net/iavf: fix max mtu size packets with vlan tag cannot be received by default drivers/net/e1000/em_ethdev.c | 12 ++++++++++++ drivers/net/i40e/i40e_ethdev.c | 11 +++++++++++ drivers/net/i40e/i40e_ethdev_vf.c | 13 ++++++++++++- drivers/net/iavf/iavf_ethdev.c | 12 ++++++++++++ drivers/net/ice/ice_ethdev.c | 11 +++++++++++ drivers/net/igc/igc_ethdev.c | 13 ++++++++++++- 6 files changed, 70 insertions(+), 2 deletions(-) -- 2.17.1