net: hns: optimize XGE capability by reducing cpu usage
authoryankejian <yankejian@huawei.com>
Tue, 8 Dec 2015 03:02:31 +0000 (11:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2015 03:06:40 +0000 (22:06 -0500)
commit9cbe9fd5214e18e6b6039136f83acf4a2695c608
tree3d36c64a1cd8d8d88a187a2748e72c7da543a965
parentbd1060a1d67128bb8fbe2e1384c518912cbe54e7
net: hns: optimize XGE capability by reducing cpu usage

here is the patch raising the performance of XGE by:
1)changes the way page management method for enet momery, and
2)reduces the count of rmb, and
3)adds Memory prefetching

Signed-off-by: Kejian Yan <yankejian@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_enet.c