From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id 41E5C58CB for ; Fri, 30 Jan 2015 14:16:43 +0100 (CET) Received: by mail-wi0-f169.google.com with SMTP id h11so2864545wiw.0 for ; Fri, 30 Jan 2015 05:16:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7WsUyvcOsagxi2AGWg1QD+t1R97/flRdbd3wa4cTNow=; b=FGIEsZ/SFSRGL9fLjnH2+nrf1hd17wnfjJJFNj2UM5kObMG50iCd1YgkliIPTsoa9P NG9SVnUdhLt3E2hsgcIArIdW8ofYqBt3fXkp2FwotSgPq6ZPjwt+PhTWpBgMwTktfB8H TZT3+91qOXEY1fPHlCSFAlOQetg1azbOVFT0DcXXhN5ZYDsD9GjJ5INZKIL/uAy4EAAA 8RmijPmRSMcA5DHj8VmgXjfIjoQLZ5mI/LOHYJ/Gz48LrOuEMnP2BCN0i7qU160UjamZ +ljHBcufNoyPqRvjR+WzTZVUqLyvUUU+Xjlze32DeO0IQ5Y8R36LPj5/kCO9sfFlWzCk X1xg== X-Gm-Message-State: ALoCoQmK0ZynYARSAjopDEju9DTf+8Gqyiu3axDq3VVM8MYNiUKMAQXkAuUBDmo9tSfcGWHQcJzn X-Received: by 10.195.17.225 with SMTP id gh1mr11889374wjd.37.1422623803110; Fri, 30 Jan 2015 05:16:43 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id li7sm6911300wic.4.2015.01.30.05.16.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Jan 2015 05:16:42 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Fri, 30 Jan 2015 14:16:11 +0100 Message-Id: <1422623775-8050-17-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> References: <1421883395-27235-1-git-send-email-olivier.matz@6wind.com> <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 16/20] i40e: advertise outer IPv4 checksum capability 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: Fri, 30 Jan 2015 13:16:43 -0000 From: Jijiang Liu Advertise the DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM flag in the PMD features. It means that the i40e PMD supports the offload of outer IP checksum when transmitting tunneling packet. Signed-off-by: Jijiang Liu Acked-by: Olivier Matz --- lib/librte_pmd_i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index b47a3d2..2244495 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.c +++ b/lib/librte_pmd_i40e/i40e_ethdev.c @@ -1516,7 +1516,8 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) DEV_TX_OFFLOAD_IPV4_CKSUM | DEV_TX_OFFLOAD_UDP_CKSUM | DEV_TX_OFFLOAD_TCP_CKSUM | - DEV_TX_OFFLOAD_SCTP_CKSUM; + DEV_TX_OFFLOAD_SCTP_CKSUM | + DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM; dev_info->reta_size = pf->hash_lut_size; dev_info->default_rxconf = (struct rte_eth_rxconf) { -- 2.1.4