net: hisilicon: supports promisc mode
authoryankejian <yankejian@huawei.com>
Tue, 13 Oct 2015 01:53:45 +0000 (09:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Oct 2015 13:52:48 +0000 (06:52 -0700)
commit4568637f7a20bbb1dcbf8ada56de08f6c940bcbd
tree3fef8f6bced3c092ff614d1e49548cd59910804f
parent02a6d6136fa2a17f400a030829a6435556b3e65b
net: hisilicon: supports promisc mode

this patch adds support to set promisc mode. it configs the queue on
init seq  when it is on promisc mode.and being enabled or disabled promisc
mode by upper level user.

Signed-off-by: yankejian <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hnae.h
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h
drivers/net/ethernet/hisilicon/hns/hns_enet.c