Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5262234rwb; Sun, 4 Dec 2022 17:59:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5hhVUjCBCSOBOYtD4j2rppLzvgoD38ZlzjPjSEOE4YUIwiYVGjN41jnDzrjbwN5H4UOGol X-Received: by 2002:a17:902:7c08:b0:189:af2b:ebb1 with SMTP id x8-20020a1709027c0800b00189af2bebb1mr21454550pll.35.1670205568709; Sun, 04 Dec 2022 17:59:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670205568; cv=none; d=google.com; s=arc-20160816; b=xukMSbxwqTVvzFX3LwpbpfqNva+8+f10YuB2+TeLDieVN0EJ88kSBjwzWdMkTt5yb9 lRFD4W8fCurmbmCxw7MHDSWlVtSIQK3VWqQKJ5gEKYg0p2suoOJTRxGgE9i7E3ocuZfe viTv58gIUAVcHXH/Hf2Wgtc0b7peQp7FFixmIV1mDIrZJxZWq2BFEjWZTB7VF9mGssSz MvCVFAvEY2xBq4fYvpcZ9sg+K008afM8nHoMReRG4z6sYOy7KnMIuf/OvzowQxh1YBqa 5ZFMEZkunK44kXxvHFa1SHmIQv/gN9yeX7lr7N+1o8vh2nvjd02yO/ExCk6LINU3ikps lw6A== 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=uU2kyxdemVhvOeJ6bzOanZVyrvNwaIsuV0DMpIDztzU=; b=s4x0g8K5Zheo0BC/LYm5peZDWf1SpyEvDRzMVYJhUyThRo8xoBLGpu3KsvRVl5X19M lVY4bwuLYVd4fThpK2ZsnlDEdCokbEh7ifykaBkd219z0R4MFgivdnnl4yfrYyaxAsdk CN2J863yYaqlLGzEOVOkBqDN/f69d6OLW6U6XC5CmwqFWBFK7cMcH7YSGigXWHWTVzQm tFDs5fhAfev+0jgudUm6I4q53BoPOODJf72SyNlm3bqQKdqFaMR3m8gCFEEceDMvWOWV AM3QAh1HgMsih+4nyLMw0b5DfY+0KP5o+2aI4Js1bffu11xzWWYui6E587ffEIJT63xR f4tA== 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 l64-20020a639143000000b00478972c18c4si5837946pge.865.2022.12.04.17.59.17; Sun, 04 Dec 2022 17:59: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 S231211AbiLEBDR (ORCPT + 82 others); Sun, 4 Dec 2022 20:03:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbiLEBDP (ORCPT ); Sun, 4 Dec 2022 20:03:15 -0500 Received: from unicom146.biz-email.net (unicom146.biz-email.net [210.51.26.146]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9600BFCD1; Sun, 4 Dec 2022 17:03:13 -0800 (PST) Received: from ([60.208.111.195]) by unicom146.biz-email.net ((D)) with ASMTP (SSL) id ZDI00008; Mon, 05 Dec 2022 09:03:08 +0800 Received: from localhost.localdomain (10.180.204.101) by jtjnmail201608.home.langchao.com (10.100.2.8) with Microsoft SMTP Server id 15.1.2507.16; Mon, 5 Dec 2022 09:03:08 +0800 From: wangchuanlei To: CC: , , , , , , , , , , Subject: Re: [PATCH] [PATCH v6 net-next] net: openvswitch: Add support to count upcall packets Date: Sun, 4 Dec 2022 20:03:04 -0500 Message-ID: <20221205010304.3957617-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.204.101] tUid: 20221205090308d87a14f1f4cba43584f08aeb5f98dc0d 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, Simon, I see that! Thank you for review! Best regards! wangchuanlei -------------------------------------------------------- Hi, On Thu, Dec 01, 2022 at 03:46:01AM -0500, wangchuanlei wrote: > 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_// I believe Jakub is asking for "ovs_vport_upcall_" to be removed. Or, in other words, to refer to the parameter as "stats", (which matches the name in the function signature below). > > > + * > > + * 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) > > _______________________________________________ > dev mailing list > dev@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev >