From patchwork Wed Mar 13 18:31:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashish Varma X-Patchwork-Id: 1056187 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="huZDuDWP"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44KL9Y5KdPz9s55 for ; Thu, 14 Mar 2019 05:34:56 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 82C3B974; Wed, 13 Mar 2019 18:34:52 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6EFCF8D7 for ; Wed, 13 Mar 2019 18:34:51 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 25B1CFD for ; Wed, 13 Mar 2019 18:34:51 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id v12so2147923pgq.1 for ; Wed, 13 Mar 2019 11:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=np3C4f9A9vRfEmd39RbHn3ujuLio130qJq8iOosy5DA=; b=huZDuDWPYZ0L0REtJYA+A9XY97UIzlJT/WW0MsWfD0DOYYM8mjL6YzDPuaBtxsIB4k 6MOqhbWkQsb9VK3Q0ovDjEhgfCIzuyVHBI3eit+IVdazfNxJqiRuNxL+KNzvWwYpL/Qh joUkOWBoA5etc4L2LRmxzRYgfPD1QpuqITJMiC08P3kTC8GK5dDgs3NP2XSeH8gKFnAE fsn/wZfKgekgheO4UqwwCzzINSdc+ewTIEAoqk0g9oChamND5hul2TfyE1OlpkP2XgqM GBJywxzruPVUIIIk75rLxGm/qXB1w/FgO5Y77rI2QVjNhMLNHzw+tQQJlnKV6mEhAiPh +MSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=np3C4f9A9vRfEmd39RbHn3ujuLio130qJq8iOosy5DA=; b=gb5sHz6zkfbLj79hxHZ4DZEGkNpOCQDBDmwM2CVLLosDZEqp77TLuSRdvTfe/8E7Ja 5FngURNc5RO3RJfEkag3jG4FoZvN8wA1L9Kihs04/R7IFzYv7s+e8TDnnWcQGBi2BJuV 36QLcxL4Vh1ud8ClBhDotOJs87y/jB2u0b60H9S0PwvU1Z9tplf39VXP+KzVyafwDrMk HNzV3MQPN97CcSUTrDERNH0HqqieTTDzRL12uU/h2peNuR52C1I5jEdBWeSBrEkOxgmG AHg/5hILEUnw2ZA9jPSAT/G28I5j5FiiuVPSMRTMvdZCdur9+agaz0UMwQObAsXDs/NV I5bg== X-Gm-Message-State: APjAAAUwEUgesRaKcWlSNz6bTRUWbaIKek9Ax/l++d7lt7kDvhb1iez/ CVXNniUxBmfHVP76OqUiAwRfjU6B X-Google-Smtp-Source: APXvYqyaPW0Vs0db01ryyi/AM4YX+59gDiX9gXg5o4eyRuQGeStfGNpg4PDqGeKj3/qDZ1waS0tR7Q== X-Received: by 2002:aa7:8299:: with SMTP id s25mr45552988pfm.56.1552502090353; Wed, 13 Mar 2019 11:34:50 -0700 (PDT) Received: from ashish-ubuntu-Desktop.eng.vmware.com ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id z6sm48520062pgo.31.2019.03.13.11.34.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Mar 2019 11:34:49 -0700 (PDT) From: Ashish Varma To: dev@openvswitch.org Date: Wed, 13 Mar 2019 11:31:05 -0700 Message-Id: <1552501865-8268-1-git-send-email-ashishvarma.ovs@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH v1] ofp-protocol: Changed the number of bits in OFPUTIL_P_ANY from 10 to 9. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org The removal of support for OpenFlow 1.6 (draft) resulted in the removal of "OFPUTIL_P_OF16_OXM 1 << 9". OFPUTIL_P_ANY which represets all protocols will now have only 9 valid bits. Signed-off-by: Ashish Varma --- include/openvswitch/ofp-protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openvswitch/ofp-protocol.h b/include/openvswitch/ofp-protocol.h index 3f4e645..7873fdd 100644 --- a/include/openvswitch/ofp-protocol.h +++ b/include/openvswitch/ofp-protocol.h @@ -97,7 +97,7 @@ enum ofputil_protocol { #define OFPUTIL_P_OF15_UP OFPUTIL_P_OF15_OXM /* All protocols. */ -#define OFPUTIL_P_ANY ((1 << 10) - 1) +#define OFPUTIL_P_ANY ((1 << 9) - 1) /* Protocols in which a specific table may be specified in flow_mods. */ #define OFPUTIL_P_TID (OFPUTIL_P_OF10_STD_TID | \