From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by dpdk.org (Postfix) with ESMTP id AD0265A98 for ; Thu, 22 Jan 2015 00:36:53 +0100 (CET) Received: by mail-we0-f180.google.com with SMTP id m14so20771958wev.11 for ; Wed, 21 Jan 2015 15:36:53 -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=Wgvnw3f1nB8U0BacMhY+vrtihO5g/I6isc/UJC9yjQE=; b=YduVsZMoeIcWhVxl4GwaSfi6PZDXysTPavYURCrZF6uyYVKf2sXcmmJUHZECQ9CAtf vLX3LOIAyPKr68mZNqYwh/PJrtKljHCYl3bRwD/cIUu5NIP/EiKauKekWo0ozqa/a63g VZ0tHeMVEyx271xSLll03YdAQzJjd9LA9kF70nSjiDKX28X4hR7OFh2tEkUQrdm4W99Y pGO6I+wC6MJhAf+KUvLxZ8NfRo01rifbB2Zfn2lhiUtuU32DB0AyVw4lr/jpqRjlsAWM WZvJ45vGd79Dqw6tDU8+Nm4pJZqpcgNfYvIIWy+woFiw07R0NkJom5cxeq9xvt5GpC8B D+eg== X-Gm-Message-State: ALoCoQlZJ9Tm83qqHzagOdVig4+Gm0lGADbZMGCHXUSUTJ/4bgCg/JyGyq+3OOWDb0h6N5mIFVdL X-Received: by 10.180.81.169 with SMTP id b9mr61884742wiy.41.1421883413596; Wed, 21 Jan 2015 15:36:53 -0800 (PST) Received: from glumotte.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id wa5sm1710761wjc.8.2015.01.21.15.36.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Jan 2015 15:36:53 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Thu, 22 Jan 2015 00:36:26 +0100 Message-Id: <1421883395-27235-8-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1421883395-27235-1-git-send-email-olivier.matz@6wind.com> References: <1421883395-27235-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [RFC 07/16] 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: Wed, 21 Jan 2015 23:36:56 -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.3