Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp260457rwb; Thu, 1 Dec 2022 01:46:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5AVD+G8ZNSmZtLs3zHFqptyadK4KeM4vubvUCa898CrYUX4EhpF7VDH+npDvBXf+30nk1R X-Received: by 2002:a17:906:3993:b0:7ad:f5a9:ece3 with SMTP id h19-20020a170906399300b007adf5a9ece3mr55560694eje.635.1669887988521; Thu, 01 Dec 2022 01:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669887988; cv=none; d=google.com; s=arc-20160816; b=bSHg14yki2dYMlhOD1G402fH588oxDQzJ48w0usZEZRy/vxIlVblMZvQP4IFolm0ke SNkYCd6LO8oYg8xLVpdOFhXa7hhhRbOGVCaXtBVfYGEpi0bjXyOYzWuXCOdQdm0e3JVO ytnTj8GN8B/AmnJfOy50e/0PXO2x74fp2pDnVdvfChmnB73yEqhH91HtYeNvqm8bTRV8 MNRnoB6gJ3jKdEHfMwXFpl0EKGt+gJORNHd3b0STCo4e9y/PzonrZDbEsSNKOOkKJQw7 2bxt3kfO8nVFdTvHdA2Er18EosqGxTpo7xq9RWaS+E8wHguzLj3QLHS2of1kuZMNdxbC M8ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:abuse-reports-to:tuid:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=gVo3t2zwI+buU2HNfLHcJeKmFFpsTm0QXzLpSufS7pc=; b=C7z7nZzUwVW9p9FbJg4bZaru3tjQuYbIZdaOAioAb7SbBrtPwDBdXJi8HAPZqvrm+w CoV2Ahnt19brnPG5viMsOk+XrGwlezxXKUk36YxJzn6EgXDKyRkgzMHte88QtvrXxnwC tzEiH8QgUBl14QGwwpGlZdJUBX+GUW5rVJ09LfpWeu/bpnLmm9pWCwSibmfhOEHJmHk3 l/ISiqLFQa88dAb7ZPRw8H5gtwiEHUaKWC/Ib5K6J90v33p5U9/GcrJ0veqsRCYDYsik wwB7gOay75hsQq2l7+CaNNvFTOJT/AL6hL7lcR14fysSqeENfRqBxEKNuaouyVHpCpmK umeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qm13-20020a170907674d00b0078da99ecbdbsi3224943ejc.673.2022.12.01.01.46.05; Thu, 01 Dec 2022 01:46:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbiLAIrt (ORCPT + 82 others); Thu, 1 Dec 2022 03:47:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbiLAIrU (ORCPT ); Thu, 1 Dec 2022 03:47:20 -0500 Received: from unicom146.biz-email.net (unicom146.biz-email.net [210.51.26.146]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 229D28EE5E; Thu, 1 Dec 2022 00:46:10 -0800 (PST) Received: from ([60.208.111.195]) by unicom146.biz-email.net ((D)) with ASMTP (SSL) id WMW00002; Thu, 01 Dec 2022 16:46:02 +0800 Received: from localhost.localdomain (10.180.206.146) by jtjnmail201603.home.langchao.com (10.100.2.3) with Microsoft SMTP Server id 15.1.2507.12; Thu, 1 Dec 2022 16:46:02 +0800 From: wangchuanlei To: CC: , , , , , , , , , Subject: Re: [PATCH] [PATCH v6 net-next] net: openvswitch: Add support to count upcall packets Date: Thu, 1 Dec 2022 03:46:01 -0500 Message-ID: <20221201084601.3598586-1-wangchuanlei@inspur.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.180.206.146] tUid: 20221201164602824ffe32c6994f19eee192ef09416773 X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Jakub, Thank you for review, the comments below is a little confusing, can you give a explanation? Best regards! wangchuanlei -------------------------------------------------------- On Wed, 30 Nov 2022 04:15:59 -0500 wangchuanlei wrote: > +/** > + * ovs_vport_get_upcall_stats - retrieve upcall stats > + * > + * @vport: vport from which to retrieve the stats > + * @ovs_vport_upcall_stats: location to store stats s/ovs_vport_upcall_// > + * > + * Retrieves upcall stats for the given device. > + * > + * Must be called with ovs_mutex or rcu_read_lock. > + */ > +void ovs_vport_get_upcall_stats(struct vport *vport, struct ovs_vport_upcall_stats *stats)