From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 688BD5F36 for ; Thu, 19 Apr 2018 04:24:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Apr 2018 19:24:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,467,1517904000"; d="scan'208";a="34744753" Received: from wuyanglong.sh.intel.com ([10.67.111.162]) by orsmga008.jf.intel.com with ESMTP; 18 Apr 2018 19:24:27 -0700 From: Yanglong Wu To: dev@dpdk.org Cc: qi.z.zhang@intel.com, wei.dai@intel.com, lei.a.yao@intel.com, Yanglong Wu Date: Thu, 19 Apr 2018 10:19:22 +0800 Message-Id: <20180419021922.57559-1-yanglong.wu@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180418014204.56785-1-yanglong.wu@intel.com> References: <20180418014204.56785-1-yanglong.wu@intel.com> Subject: [dpdk-dev] [PATCH v3] net/i40e:fix missing jumbo frame offload capability 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: Thu, 19 Apr 2018 02:24:30 -0000 JUMBO_FRAME offload capability should be exposed since i40e does support it. Fixes: fbf959fe61e7 ("net/i40e: convert to new Rx offloads API") Signed-off-by: Yanglong Wu Acked-by: Qi Zhang --- v2: add fix commit --- v3: rework commit log --- drivers/net/i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 180ac7449..c3bd254ae 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -3228,7 +3228,8 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM | DEV_RX_OFFLOAD_CRC_STRIP | DEV_RX_OFFLOAD_VLAN_EXTEND | - DEV_RX_OFFLOAD_VLAN_FILTER; + DEV_RX_OFFLOAD_VLAN_FILTER | + DEV_RX_OFFLOAD_JUMBO_FRAME; dev_info->tx_queue_offload_capa = 0; dev_info->tx_offload_capa = -- 2.11.0