Message ID | 1518001208-29529-11-git-send-email-odpbot@yandex.ru |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp360561ljc; Wed, 7 Feb 2018 03:08:32 -0800 (PST) X-Google-Smtp-Source: AH8x227ZJum0SqfZCdLIsmnb6/KiMZrNuUVBMkTy86x5qeLa/WXv3PA+Vy49Koidv1yB8RaQfBXF X-Received: by 10.200.7.133 with SMTP id l5mr926029qth.154.1518001712118; Wed, 07 Feb 2018 03:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518001712; cv=none; d=google.com; s=arc-20160816; b=Ud3BDp64+MAhLL/IKAchW+IxGdH5PTAtm9p/CqVCMKS5Fbu8wBZ46XPPLeKLJxwRRv Ryfq/1Wa4+pId5wEMx+ipUvmUMQijtT6dxvZ8VaR17TJT90jILk6mS0fKHIvF1En5ufz PSr42PJdyWhDHQCuqnPL/x8p5u6lZdCAtnVws5/UNPEgJYoqgE+1Tw9DkzZetBMvyQzO qe7fEcUQq1SSWUqxSefVES9kyXL/OImv5dZKmMru/ULOvmI2MPjrdT1wGFFczjLaOD4Z nRuowTQmpPj5FIcet/vVMIbZFGkcDEEz0OdMTFHe736LuY+JkrINMjHxITtpFpI4fyEc 2Ubw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=v+9t48agivdUTdOdsPDIDUG2FbkHn+V+Gdrapz8rr2w=; b=OsfRZj714bZmBDSc7Rg0WKu26Ul+SVDFiDZ7w6ycrmQoVBAQfsOfGbq28mli8GlB0b UamxnsFD/+ckC3Mv56MGu6c6/2AXUjXs7mvMUMMsFVQmg2wWOLa3ONd/vrNEYLcl2u4i 6mxBR2FC6Y5C+Htza3mb/per/6vRnlFNv0l4AV82Z1fXkdqWux2Te5gl0Zb3nChOxdQs eEOzhchmqazBBiVmFLs6oJaCuQO3tw+tczrUBoPEeL4762iCHK6kF5x7CisOT8mCgvqt 8ofLCIvHQZJkDTsxE08DaxN6cv5yLf9doEH2UtIzut9+n5PbwEZD1mgrVpYTiF4eCsOq Cyzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id o8si1251411qtf.230.2018.02.07.03.08.31; Wed, 07 Feb 2018 03:08:32 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id C963E617E2; Wed, 7 Feb 2018 11:08:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0B63D61806; Wed, 7 Feb 2018 11:03:20 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E318D62785; Wed, 7 Feb 2018 11:03:12 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id ED49E6173F for <lng-odp@lists.linaro.org>; Wed, 7 Feb 2018 11:01:42 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 83BAC21821B8 for <lng-odp@lists.linaro.org>; Wed, 7 Feb 2018 14:01:40 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback7g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id QewpltnZ5x-1eG8PuJm; Wed, 07 Feb 2018 14:01:40 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id LVw23zZMqp-1XVKbQ02; Wed, 07 Feb 2018 14:01:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot <odpbot@yandex.ru> To: lng-odp@lists.linaro.org Date: Wed, 7 Feb 2018 14:00:04 +0300 Message-Id: <1518001208-29529-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518001208-29529-1-git-send-email-odpbot@yandex.ru> References: <1518001208-29529-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 457 Subject: [lng-odp] [PATCH API-NEXT v1 10/14] helper: switch to using odp_packet_l4_type_set() X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
[API-NEXT,v1,1/14] linux-gen: packet: implement packet l3/l4 proto types
|
expand
|
diff --git a/helper/test/chksum.c b/helper/test/chksum.c index 292eb2d6d..97cce38c0 100644 --- a/helper/test/chksum.c +++ b/helper/test/chksum.c @@ -131,7 +131,7 @@ int main(int argc ODPH_UNUSED, char *argv[] ODPH_UNUSED) udp->dst_port = 0; udp->length = odp_cpu_to_be_16(udat_size + ODPH_UDPHDR_LEN); udp->chksum = 0; - odp_packet_has_udp_set(test_packet, 1); + odp_packet_l4_type_set(test_packet, ODP_PROTO_L4_TYPE_UDP); udp->chksum = odph_ipv4_udp_chksum(test_packet); if (udp->chksum == 0)