]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbefda0be4f1eb5a19303dd92b033efd0eebe7dc5
tree3d36c64a1cd8d8d88a187a2748e72c7da543a965
parent588b947267ebfdb4241c152472f097bca2d1b75f
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