Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1330020imu; Fri, 9 Nov 2018 14:49:46 -0800 (PST) X-Google-Smtp-Source: AJdET5cvDfp5DcsQ8pPFdwUjp4UCdJeCjM6mAuqoSaa2RW/kWQ2+WXyVGEWIMi4z0utsakGokgvi X-Received: by 2002:a17:902:8347:: with SMTP id z7-v6mr10703543pln.340.1541803786754; Fri, 09 Nov 2018 14:49:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541803786; cv=none; d=google.com; s=arc-20160816; b=Xj+ISZ4aNGXTAuPiOka0w1Y9eiZBed5Nei0lG718HfwUxH3xtLARKVQWCzGTWYzNrJ whsXdxNeKFzCa4C4s4n1kdN+Ks4+CdGFRCFWNoMHh9J2cO6UO/sPlsisUUuZcA6ROj0y l7pSf/NCglYEQuZIA5Xh2TJKnPvciShiEMWpjAzhe1l2a+LyhjIHMhZLHvALzC6RzZMB pSKgZY2x6q4UpHd0bgv3QFo/FOmzcWnT6ekQEmQ1M+j22kjRAA9C84vduBapoFicM7+u 2K7bti/dL3OyFeNPasziC4zwsAVl8UQhFO7sl1Z7dq0x/JDphu8rze7Qr5wshuL7u3FU 06Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rTm/ubjZVgl/IfKr6r0uXqKUW6U8mJS7KA59uHHxbBI=; b=X5hpfmtaNrtHZrh3sspvfCTtWKzNqvR/RsaCbzzPY2IJK/rzuep7iEQimKMyJj6Qx5 yxjL9dSrwV2wwuU6FUtOol2dePtaR9rp45MlICkXdmZ8cYo76xAYWUNs09DnW0zYXkns waq5McwF7torqkqfDczD5s7fyrqpakVJsLbVcXkDYpA3QCzz98kstN+mH41oxZBoJOyJ YxCzgJZtTdOwdo2h6/ILDTdYVrnNNFQxK5z1j97TLz8VHpnpKVFBW0dot+91IP38rwo/ 3HLnN705pS+ymATiY9h82Sylh5gWAZ9RBQ037ho+nHvg+9OibhjJenQiy1p8jYeT6lrW OyJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=b23icjKC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k18-v6si10519029pfd.163.2018.11.09.14.49.31; Fri, 09 Nov 2018 14:49:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=b23icjKC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728468AbeKJIbt (ORCPT + 99 others); Sat, 10 Nov 2018 03:31:49 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:57475 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726181AbeKJIbs (ORCPT ); Sat, 10 Nov 2018 03:31:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=rTm/ubjZVgl/IfKr6r0uXqKUW6U8mJS7KA59uHHxbBI=; b=b23icjKCcJ1qtrSXr3WCk+UYobNZutegBAMlSTovdlBT5kW0EI7DbRv92W2/iTjqBnjSFsQ1qtf5HT7nNsYPzFQdZJoOCLdbPCc9QNtzUS6s8DjU38llTzrJZbxH9xDD18RdaKTWtYiHCbTMjbmh3MTyksiZL+MUmpJFTP7VIeQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gLFaJ-0003z0-IK; Fri, 09 Nov 2018 23:49:03 +0100 Date: Fri, 9 Nov 2018 23:49:03 +0100 From: Andrew Lunn To: Salil Mehta Cc: davem@davemloft.net, yuvalm@mellanox.com, leon@kernel.org, yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, linuxarm@huawei.com, liuzhongzhu Subject: Re: [RFC PATCH 04/10] net: hns3: Add "promisc mode" config info query function Message-ID: <20181109224903.GE5259@lunn.ch> References: <20181109220743.10264-1-salil.mehta@huawei.com> <20181109220743.10264-5-salil.mehta@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181109220743.10264-5-salil.mehta@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 09, 2018 at 10:07:37PM +0000, Salil Mehta wrote: > From: liuzhongzhu > > This patch prints promiscuous mode status. netstat -i Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg lo 65536 871698 0 0 0 871698 0 0 0 LRU tun0 1500 1052639 0 0 0 1013998 0 0 0 MOPRU The flag P means promisc. Andrew