From patchwork Fri Sep 17 11:50:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: miter X-Patchwork-Id: 1529379 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=VumhBnGS; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H9tZZ58gNz9sXk for ; Fri, 17 Sep 2021 22:30:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A3F9D61B8C; Fri, 17 Sep 2021 12:30:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DRAt5kENOcGe; Fri, 17 Sep 2021 12:30:08 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id EF205616A3; Fri, 17 Sep 2021 12:30:07 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A1C2BC0011; Fri, 17 Sep 2021 12:30:07 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8E3ACC000D for ; Fri, 17 Sep 2021 12:30:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7722D61B89 for ; Fri, 17 Sep 2021 12:30:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YCCHhWZQxa-G for ; Fri, 17 Sep 2021 12:30:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01olkn2164.outbound.protection.outlook.com [40.92.62.164]) by smtp3.osuosl.org (Postfix) with ESMTPS id DA523616A3 for ; Fri, 17 Sep 2021 12:30:04 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ff6UQuUI5BVSxjiO99VnzRwMqkiJghhZ4siLpEyoEsVasabu4vo/QZ8wuevLr/ENmISWkT0pKu+U4Ub3ZtMbELV6bUInvdCeGYLvm8sEBNiAe3EimKeRnsNXmkkI4gIYjcdGnbxVWXc/M3cnwDkcRHDuSd4QRB9SobfGq+gyADZSS13z7ISSwxSksDr8h67l2koFGVesJGHVqev1la+MdOXSXAt4IR/ANxV4xtWvaAKcCnHkQ4Kg9SlhvoieABTucafg+Z0Cb+qtqTKlnRVZfXAnRj5xeNfciwf/U/2J4aWAWnOjmAp/N9nG+3WdowihrbhRBp6XaJA6rpT2eCUhdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8ECdn4TuyHTMTcvNyvCwsmvmsVunsJMyOUdlktjhsng=; b=jERhbWyFY/N1nkBYNcTqjTuz4RXyY8OAD4Gt6BTqrZTwJe0551biyTYNvVo7yh2w7P5b416VR/MiT1UoIwUQUDRz0k7hRnD+ICj4Y76zVm6/D83Zj/fvkbFEXAQGyUNqiLc4cmd5DBTJIqflT7m7AgYtR9CgkWSLjRK9ZLm4fVr1LYAfj351nX+QBqGtD2ZkNf4mRWluN2F1HfnMYjusuk+jwTW5cVIborLHVbMkyyzIFSm3k2svjqZNlLA9IfbvZW0rL+MyCLaP5SM0H/UX8PnwMRgaUKBapoYrtU/oVgx0k1F2KGUCYx/FzaG0s0urguuKbk97eySW6UspMhkC9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8ECdn4TuyHTMTcvNyvCwsmvmsVunsJMyOUdlktjhsng=; b=VumhBnGSHiQlh7qRM7exIpouU73vAoOM6PWvGwy2NXAXgWDc180nVMsDn4C6GWUdyZ76bvVbXrvgafl3BSSIcr2+gkY8HNVzl8NHqhh4jTP2Hd/+gkHVKrMw2s0kmLK5BLfMmmXIMh4LPCpWRTlHDTwYIZZ5LjdW5J4FwhHm4rds21Ftrm00SwKG3enS90j45LDTIARZLmgyQlOQGdHLx/JAIE72y4SLXf5HBjs4IHYvjQKZ2L00a6qftt4MYOpLY4rhyLfRYJ6tPHh2un6xV9iUvEf/luO3I8MPSp1MUE6ZOaz5l47qDHIcmtKOMMik8QDnPhE8cjynheHEzBnskg== Received: from MEYP282MB3302.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:15b::24) by MEYP282MB3461.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:15b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.15; Fri, 17 Sep 2021 12:30:00 +0000 Received: from MEYP282MB3302.AUSP282.PROD.OUTLOOK.COM ([fe80::e004:370e:5de0:b235]) by MEYP282MB3302.AUSP282.PROD.OUTLOOK.COM ([fe80::e004:370e:5de0:b235%8]) with mapi id 15.20.4523.017; Fri, 17 Sep 2021 12:30:00 +0000 From: lin huang To: "ovs-dev@openvswitch.org" Thread-Topic: dpif-netdev.c : remove dpif OVS_UNUSED flag. Thread-Index: AQHXq7g0c3q8QPyyrUi7L0bi4DLj8A== Date: Fri, 17 Sep 2021 11:50:45 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [84PgA14Y5nPSWi/Y1k/3Z7dU4yfKeiZp] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0df70eba-646f-4848-15d4-08d979d6ddfa x-ms-traffictypediagnostic: MEYP282MB3461: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o+tP9WRrCODfsCoVDwtDEHxRnE8EBrvhXF4ybKVkYYfQ2YyjzTACUhe1KNEsKx5HVNZt/i4/uD/vKYTYeZ1Xfik7hb8+FSqY8tr36xNXDPkZbfZ29WHIgNUweeXBGNH3oodEC93SDkEvAIOc86qxnWLQX8dBt9kGz7IPrpkj/Gdj+2cJ1nurVr5wo4e41jgcyRj+/mvHxyxJQV2RL4mNdnsWMANz1HSnD27EjJRfueEEWuy89wEIoU05IzRoPmQJ5tSWmcCvN43+5bOfQE8g8IupWcEgSmGNylBB71Hg9tZVLyNa3P4gLTrkF4CiAnFBo5caR6aoMCPhJsi6Dm4jkhJw49dxEHopBfSLEL3P6N+ERJz6OybR49b9wq92IUT0oyyYwVYcS7tLr3Jgtgjkg4Xc3iv9OOAkfqIjuxursQoDrxOFNO4gBb4OU3QtdBR9 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 4a3MSZrBuQ1Zb+IrRtPv42mxDiqtO/pxMHrppJS1CccCISsy3aUNEn1LW9zlLuaWJ5duCEcTbTiR1V2BMIalLGf5tQhpmAtIHXpaA+cuZUXM11km+SntH8DoSsChv3eKG00gbmpfgKWoB5fkEFoZqQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MEYP282MB3302.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 0df70eba-646f-4848-15d4-08d979d6ddfa X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2021 12:30:00.2856 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MEYP282MB3461 Cc: Ilya Maximets Subject: [ovs-dev] dpif-netdev.c : remove dpif OVS_UNUSED flag. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" From: linhuang The dpif is used, so remove the OVS_UNUSED flag. Signed-off-by: linhuang Reviewed-by: David Marchand --- lib/dpif-netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.32.0 diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 4cd0e9ebd..75f381ec1 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -8429,7 +8429,7 @@ dpif_netdev_ct_get_tcp_seq_chk(struct dpif *dpif, bool *enabled) } static int -dpif_netdev_ct_set_limits(struct dpif *dpif OVS_UNUSED, +dpif_netdev_ct_set_limits(struct dpif *dpif, const uint32_t *default_limits, const struct ovs_list *zone_limits) { @@ -8454,7 +8454,7 @@ dpif_netdev_ct_set_limits(struct dpif *dpif OVS_UNUSED, } static int -dpif_netdev_ct_get_limits(struct dpif *dpif OVS_UNUSED, +dpif_netdev_ct_get_limits(struct dpif *dpif, uint32_t *default_limit, const struct ovs_list *zone_limits_request, struct ovs_list *zone_limits_reply) @@ -8494,7 +8494,7 @@ dpif_netdev_ct_get_limits(struct dpif *dpif OVS_UNUSED, } static int -dpif_netdev_ct_del_limits(struct dpif *dpif OVS_UNUSED, +dpif_netdev_ct_del_limits(struct dpif *dpif, const struct ovs_list *zone_limits) { int err = 0;