From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 893E2B3D9 for ; Fri, 13 Feb 2015 10:23:13 +0100 (CET) Received: by mail-wg0-f50.google.com with SMTP id l2so15382188wgh.9 for ; Fri, 13 Feb 2015 01:23:13 -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=GGQU9rooc0QkPaIduHCLlcjZJpLLS3xlYQeFtQGcOZq5tApoh39csriKQy8r65nJWq IlD2AUMBlhC//EPNPTXsnzTISBaemk/BqkH1r2qLEc7tLOlY+hJ/GgraeweMBt5XaJQg 7CuUH3qfRs4Bx2LwhBDSgHWsIyyhFkQngf/142GS1KTbXwdqibjgVtToi0bMxZxst3LA QLeY61tTEPA1TjEQx4/vpT93wNO7gx+kzI1jmC4XQH2lumnqa/JeGfqxW4ozWc9lJifg KOgBfKFpkvENWVGc860jiFLAoijbflqrF6s+EJpfoYHgk1K0QOsihPrnNta/qKV/ud/q gnmw== X-Gm-Message-State: ALoCoQmM3SCcRs/90k3sHTPaIx3SNFZXXY59mFrWVQorocB/dKBFNK5K8SgyLCLNXBa2+cvijK9E X-Received: by 10.180.240.169 with SMTP id wb9mr14302834wic.83.1423819393450; Fri, 13 Feb 2015 01:23:13 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id a5sm2100153wib.20.2015.02.13.01.23.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Feb 2015 01:23:13 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Fri, 13 Feb 2015 10:22:47 +0100 Message-Id: <1423819371-24222-17-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1423819371-24222-1-git-send-email-olivier.matz@6wind.com> References: <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> <1423819371-24222-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH v3 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, 13 Feb 2015 09:23:14 -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