Subject: Re: [RFC PATCH 04/10] net: hns3: Add "promisc mode" config info query function

From: Andrew Lunn <[email-masked]>
Date: Fri, 9 Nov 2018 23:49:03 +0100

On Fri, Nov 09, 2018 at 10:07:37PM +0000, Salil Mehta wrote:
> From: liuzhongzhu <[email-masked]>
> 
> 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