From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id DC9E0B3E6 for ; Wed, 4 Feb 2015 10:26:05 +0100 (CET) Received: by mail-wi0-f175.google.com with SMTP id fb4so30328083wid.2 for ; Wed, 04 Feb 2015 01:26:05 -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=B/iYy49jaBilpryeaGE5WlfXPjxWoGXcK95b6lG69j4=; b=jadAZ7sHAW5DTvxYgdLQ6gRTHgUCctyxMoHPXEiz31uPY31ENeidQNwlZbCgu++xtq NGM/VoeFqZsIB7Ud2PE382iw/wcVlf8Ct5nWazl8zH/pIb25XlUR1jnJiwERJ837RJl6 ad3+y33Z34J5N9pF4at56iqiADoZ3xrbwUq3wawzEiciyp0f4IV7k/SUEtAc7s0N43TB ACGpYB+ZhAraKaIVfoAgO00MByHbGBF8Tp6KnWpdGEPmj4l7SQTa82yIiYTsSeIzeyfS TZTYdBSo0IpcID82S3Bne3iksF6wmHv/hoymwj987D6x3X8nmbn2Qtm/HYY7yLVe51Vo MHIw== X-Gm-Message-State: ALoCoQlbSUTfwtxWV2BU3Dj/ELkZN1lKTxQmknvm0BuWiuxgJlKZAy+q8c7q8wHlrxV9xpl7cxsn X-Received: by 10.180.10.131 with SMTP id i3mr2545306wib.54.1423041965811; Wed, 04 Feb 2015 01:26:05 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id a13sm2346491wic.3.2015.02.04.01.26.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 01:26:05 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Wed, 4 Feb 2015 10:25:21 +0100 Message-Id: <1423041925-26956-17-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> References: <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH v2 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: Wed, 04 Feb 2015 09:26:06 -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 9fa6bec..6f385d2 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.c +++ b/lib/librte_pmd_i40e/i40e_ethdev.c @@ -1529,7 +1529,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