[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 11 Nov 2018 16:45:32 +0000
From: Salil Mehta <salil.mehta@...wei.com>
To: Andrew Lunn <andrew@...n.ch>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"yuvalm@...lanox.com" <yuvalm@...lanox.com>,
"leon@...nel.org" <leon@...nel.org>,
"Zhuangyuzeng (Yisen)" <yisen.zhuang@...wei.com>,
"lipeng (Y)" <lipeng321@...wei.com>,
"mehta.salil@...src.net" <mehta.salil@...src.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
Linuxarm <linuxarm@...wei.com>,
Liuzhongzhu <liuzhongzhu@...wei.com>
Subject: RE: [RFC PATCH 04/10] net: hns3: Add "promisc mode" config info
query function
> From: Andrew Lunn [mailto:andrew@...n.ch]
> Sent: Friday, November 9, 2018 10:49 PM
> To: Salil Mehta <salil.mehta@...wei.com>
> Cc: davem@...emloft.net; yuvalm@...lanox.com; leon@...nel.org;
> Zhuangyuzeng (Yisen) <yisen.zhuang@...wei.com>; lipeng (Y)
> <lipeng321@...wei.com>; mehta.salil@...src.net; netdev@...r.kernel.org;
> linux-kernel@...r.kernel.org; linux-rdma@...r.kernel.org; Linuxarm
> <linuxarm@...wei.com>; Liuzhongzhu <liuzhongzhu@...wei.com>
> Subject: Re: [RFC PATCH 04/10] net: hns3: Add "promisc mode" config info
> query function
>
> On Fri, Nov 09, 2018 at 10:07:37PM +0000, Salil Mehta wrote:
> > From: liuzhongzhu <liuzhongzhu@...wei.com>
> >
> > 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.
sure, got the point. Anything which is available in the tools should be
avoided in the debugfs?
Many thanks
Powered by blists - more mailing lists