[patch] {1620} net: hns3: add dcb cap flag in init sequence

2017-01-24 Thread Kejian Yan
If enable DCB feature, we need to add the capacity, and the current procedure cannot setting the dcb because of no capacity flag and every ops interface will implement by the capicity flag is enable. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns3/

[patch] {1620} net: hns3: add dcb cap flag in init sequence

2017-01-24 Thread Kejian Yan
If enable DCB feature, we need to add the capacity, and the current procedure cannot setting the dcb because of no capacity flag and every ops interface will implement by the capicity flag is enable. Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 6

[patch v2 net-next 09/13] net: hns: add dsaf misc operation method

2016-05-29 Thread Kejian Yan
The misc operation for different hw platform may be different, if using current implementation, it will add a new branch on each function for every new hw platform, so we add a method for this operation. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <

[patch v2 net-next 13/13] net: hns: net: hns: enet adds support of acpi

2016-05-29 Thread Kejian Yan
Enet needs to get configration parameter by acpi. This patch adds support of ACPI for enet. The configuration parameter will be configed in BIOS. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- change log: v2: 1. use ac

[patch v2 net-next 04/13] net: hisilicon: add support of acpi for hns-mdio

2016-05-29 Thread Kejian Yan
. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- change log: v2: 1. use dev_of_node instead of IS_ENABLED macro 2. Add ACPI bits v1: first submit Link: https://lkml.org/lkml/2016/5/13/93 --- drivers/net/ethern

[patch v2 net-next 12/13] net: hns: implement the miscellaneous operation by asl

2016-05-29 Thread Kejian Yan
The miscellaneous operation is implemented in BIOS, the kernel can call _DSM method help to call the implementation in ACPI case. Here is a patch to do that. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- change log: v2:

[patch v2 net-next 00/13] net: hns: add support of ACPI

2016-05-29 Thread Kejian Yan
ead of IS_ENABLED() to check if it is a DT node. 3. split the patch("add support of acpi for hns-mdio") into two patches: 3.1 Move to use fwnode_handle 3.2 Add ACPI 4. add the patch which subject is dsaf misc operation method 5. fix the comments by Andy Shevchenko Kejian Yan (13)

[patch v2 net-next 09/13] net: hns: add dsaf misc operation method

2016-05-29 Thread Kejian Yan
The misc operation for different hw platform may be different, if using current implementation, it will add a new branch on each function for every new hw platform, so we add a method for this operation. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon

[patch v2 net-next 13/13] net: hns: net: hns: enet adds support of acpi

2016-05-29 Thread Kejian Yan
Enet needs to get configration parameter by acpi. This patch adds support of ACPI for enet. The configuration parameter will be configed in BIOS. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- change log: v2: 1. use acpi_dev_found() instead of acpi_match_device_ids() 2

[patch v2 net-next 04/13] net: hisilicon: add support of acpi for hns-mdio

2016-05-29 Thread Kejian Yan
. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- change log: v2: 1. use dev_of_node instead of IS_ENABLED macro 2. Add ACPI bits v1: first submit Link: https://lkml.org/lkml/2016/5/13/93 --- drivers/net/ethernet/hisilicon/hns_mdio.c | 107

[patch v2 net-next 12/13] net: hns: implement the miscellaneous operation by asl

2016-05-29 Thread Kejian Yan
The miscellaneous operation is implemented in BIOS, the kernel can call _DSM method help to call the implementation in ACPI case. Here is a patch to do that. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- change log: v2: use a serial function to implement the reset sequence v1

[patch v2 net-next 00/13] net: hns: add support of ACPI

2016-05-29 Thread Kejian Yan
ead of IS_ENABLED() to check if it is a DT node. 3. split the patch("add support of acpi for hns-mdio") into two patches: 3.1 Move to use fwnode_handle 3.2 Add ACPI 4. add the patch which subject is dsaf misc operation method 5. fix the comments by Andy Shevchenko Kejian Yan (13)

[patch v2 net-next 06/13] net: hns: use platform_get_irq instead of irq_of_parse_and_map

2016-05-29 Thread Kejian Yan
As irq_of_parse_and_map is only used by DT case, it is excepted to use a uniform interface. So it is used platform_get_irq() instead. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_ds

[patch v2 net-next 03/13] net: hisilicon: cleanup to prepare for other cases

2016-05-29 Thread Kejian Yan
Hns-mdio only supports DT case now. do some cleanup to prepare for introducing other cases later, no functional change. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- drivers/net/ethernet/hisilicon/hns

[patch v2 net-next 08/13] net: hns: add uniform interface for phy connection

2016-05-29 Thread Kejian Yan
that sequence by both DT and ACPI. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- change log: v2: 1. remove the redundant functions, and 2. adds fwnode match method beside DT and ACPI. v1: first submit link: https://lkml.org/lk

[patch v2 net-next 08/13] net: hns: add uniform interface for phy connection

2016-05-29 Thread Kejian Yan
that sequence by both DT and ACPI. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- change log: v2: 1. remove the redundant functions, and 2. adds fwnode match method beside DT and ACPI. v1: first submit link: https://lkml.org/lkml/2016/5/13/100 --- drivers/net/ethernet/hisilicon/hns

[patch v2 net-next 06/13] net: hns: use platform_get_irq instead of irq_of_parse_and_map

2016-05-29 Thread Kejian Yan
As irq_of_parse_and_map is only used by DT case, it is excepted to use a uniform interface. So it is used platform_get_irq() instead. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[patch v2 net-next 03/13] net: hisilicon: cleanup to prepare for other cases

2016-05-29 Thread Kejian Yan
Hns-mdio only supports DT case now. do some cleanup to prepare for introducing other cases later, no functional change. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns_mdio.c | 46 +++ 1 file changed, 23 insertions(+), 23

[patch v2 net-next 05/13] net: hns: use device_* APIs instead of of_* APIs

2016-05-29 Thread Kejian Yan
OF series functions can be used only for DT case. Use unified device property function instead to support both DT and ACPI. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf

[patch v2 net-next 10/13] net: hns: dsaf adds support of acpi

2016-05-29 Thread Kejian Yan
Dsaf needs to get configuration parameter by ACPI, so this patch add support of ACPI. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- change log: v2: 1. use dev_of_node() instead of IS_ENABLED() to check if it is in DT case

[patch v2 net-next 07/13] net: hns: enet specify a reference to dsaf by fwnode_handle

2016-05-29 Thread Kejian Yan
As device_node is only used by DT case, it is expected to find uniform ways. So fwnode_handle is the suitable method. Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- change log: v2: remove the redundant line v1: first

[patch v2 net-next 05/13] net: hns: use device_* APIs instead of of_* APIs

2016-05-29 Thread Kejian Yan
OF series functions can be used only for DT case. Use unified device property function instead to support both DT and ACPI. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 9 + drivers/net/ethernet/hisilicon/hns/hns_enet.c

[patch v2 net-next 10/13] net: hns: dsaf adds support of acpi

2016-05-29 Thread Kejian Yan
Dsaf needs to get configuration parameter by ACPI, so this patch add support of ACPI. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- change log: v2: 1. use dev_of_node() instead of IS_ENABLED() to check if it is in DT case, 2. split a new patch to implement misc operation method

[patch v2 net-next 07/13] net: hns: enet specify a reference to dsaf by fwnode_handle

2016-05-29 Thread Kejian Yan
As device_node is only used by DT case, it is expected to find uniform ways. So fwnode_handle is the suitable method. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- change log: v2: remove the redundant line v1: first submit link: https://lkml.org/lkml/2016/5/13/98 --- drivers

[patch v2 net-next 02/13] ACPI: bus: add stub acpi_evaluate_dsm() to linux/acpi.h

2016-05-29 Thread Kejian Yan
: Rafael J. Wysocki <r...@rjwysocki.net> Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- include/linux/acpi.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3025d

[patch v2 net-next 11/13] net: hns: register phy device in each mac initial sequence

2016-05-29 Thread Kejian Yan
| --- | | | | | | | | | | | | | |MAC MAC MAC MAC| | | | | | | | | | | |||||| || PHY PHY PHY PHY Signed-off-by: Kejian Yan

[patch v2 net-next 02/13] ACPI: bus: add stub acpi_evaluate_dsm() to linux/acpi.h

2016-05-29 Thread Kejian Yan
: Rafael J. Wysocki Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- include/linux/acpi.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3025d19..4d4bb49 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -659,6

[patch v2 net-next 11/13] net: hns: register phy device in each mac initial sequence

2016-05-29 Thread Kejian Yan
| --- | | | | | | | | | | | | | |MAC MAC MAC MAC| | | | | | | | | | | |||||| || PHY PHY PHY PHY Signed-off-by: Kejian Yan

[patch v2 net-next 01/13] ACPI: bus: add stub acpi_dev_found() to linux/acpi.h

2016-05-29 Thread Kejian Yan
. Cc: Rafael J. Wysocki <r...@rjwysocki.net> Signed-off-by: Kejian Yan <yankej...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- include/linux/acpi.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h inde

[patch v2 net-next 01/13] ACPI: bus: add stub acpi_dev_found() to linux/acpi.h

2016-05-29 Thread Kejian Yan
. Cc: Rafael J. Wysocki Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang --- include/linux/acpi.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 288fac5..3025d19 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h

[PATCH v3 net-next 0/2] net: hns: get and set RSS indirection table by using ethtool

2016-03-10 Thread Kejian Yan
fixes the building warning and error PATCH v2: - This patchset fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Kejian Yan (2): net: hns: fix return value of the function about rss net: hns: fixes a bug of RSS drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8

[PATCH v3 net-next 0/2] net: hns: get and set RSS indirection table by using ethtool

2016-03-10 Thread Kejian Yan
fixes the building warning and error PATCH v2: - This patchset fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Kejian Yan (2): net: hns: fix return value of the function about rss net: hns: fixes a bug of RSS drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8

[PATCH v3 net-next 2/2] net: hns: fixes a bug of RSS

2016-03-10 Thread Kejian Yan
-by: Kejian Yan <yankej...@huawei.com> --- change log: PATCH v3: - This patch modifies the return value of .get_rxnfc to fix building error PATCH v2: - This patch fixes the comments provided by Andy Shevchenko Link: https://lkml.org/lkml/2016/3/10/267 PATCH v1: - first submit Link:

[PATCH v3 net-next 2/2] net: hns: fixes a bug of RSS

2016-03-10 Thread Kejian Yan
-by: Kejian Yan --- change log: PATCH v3: - This patch modifies the return value of .get_rxnfc to fix building error PATCH v2: - This patch fixes the comments provided by Andy Shevchenko Link: https://lkml.org/lkml/2016/3/10/267 PATCH v1: - first submit Link: https://lkml.org/lkml/2016/3/9

[PATCH v3 net-next 1/2] net: hns: fix return value of the function about rss

2016-03-10 Thread Kejian Yan
Both .get_rxfh and .get_rxfh are always return 0, it should return result from hardware when getting or setting rss. And the rss function should return the correct data type. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- change log: PATCH v3: - This patch removes unused variabl

[PATCH v3 net-next 1/2] net: hns: fix return value of the function about rss

2016-03-10 Thread Kejian Yan
Both .get_rxfh and .get_rxfh are always return 0, it should return result from hardware when getting or setting rss. And the rss function should return the correct data type. Signed-off-by: Kejian Yan --- change log: PATCH v3: - This patch removes unused variable 'ret' to fix the build warning

[PATCH v2 net-next 0/2] net: hns: get and set RSS indirection table by using ethtool

2016-03-10 Thread Kejian Yan
the comments provided by Andy Shevchenko PATCH v1: - first submit Kejian Yan (2): net: hns: fix return value of the function about rss net: hns: fixes a bug of RSS drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 2

[PATCH v2 net-next 0/2] net: hns: get and set RSS indirection table by using ethtool

2016-03-10 Thread Kejian Yan
the comments provided by Andy Shevchenko PATCH v1: - first submit Kejian Yan (2): net: hns: fix return value of the function about rss net: hns: fixes a bug of RSS drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 2

[PATCH v2 net-next 2/2] net: hns: fixes a bug of RSS

2016-03-10 Thread Kejian Yan
-by: Kejian Yan <yankej...@huawei.com> --- change log: PATCH v2: - This patch fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Link: https://lkml.org/lkml/2016/3/9/981 --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 -- drivers/net/ethernet/hisilic

[PATCH v2 net-next 2/2] net: hns: fixes a bug of RSS

2016-03-10 Thread Kejian Yan
-by: Kejian Yan --- change log: PATCH v2: - This patch fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Link: https://lkml.org/lkml/2016/3/9/981 --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 -- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 18

[PATCH v2 net-next 1/2] net: hns: fix return value of the function about rss

2016-03-10 Thread Kejian Yan
Both .get_rxfh and .get_rxfh are always return 0, it should return result from hardware when getting or setting rss. And the rss function should return the correct data type. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- change log: PATCH v2: - This patch fixes the comments pr

[PATCH v2 net-next 1/2] net: hns: fix return value of the function about rss

2016-03-10 Thread Kejian Yan
Both .get_rxfh and .get_rxfh are always return 0, it should return result from hardware when getting or setting rss. And the rss function should return the correct data type. Signed-off-by: Kejian Yan --- change log: PATCH v2: - This patch fixes the comments provided by Andy Shevchenko PATCH

[PATCH net] net: hns: bug fix about ping6

2016-03-09 Thread Kejian Yan
The current upstreaming code fails to ping other IPv6 net device, because the enet receives the multicast packets with the src mac addr whick is the same as its mac addr. These packets need to be dropped. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- drivers/net/ethernet/hisilic

[patch net 2/2] net: hns: fixes a bug of RSS

2016-03-09 Thread Kejian Yan
-by: Kejian Yan <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 -- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 20 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ae_adap

[PATCH net] net: hns: bug fix about ping6

2016-03-09 Thread Kejian Yan
The current upstreaming code fails to ping other IPv6 net device, because the enet receives the multicast packets with the src mac addr whick is the same as its mac addr. These packets need to be dropped. Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 9

[patch net 2/2] net: hns: fixes a bug of RSS

2016-03-09 Thread Kejian Yan
-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 -- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 20 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c b/drivers/net/ethernet

[patch net 0/2] net: hns: get and set RSS indirection table by using ethtool

2016-03-09 Thread Kejian Yan
When we use ethtool to retrieves or configure the receive flow hash indirection table, ethtool needs to call .get_rxnfc to get the ring number so this patchset implements the .get_rxnfc and fixes the bug that we can not get the tatal table each time. Kejian Yan (2): net: hns: fix return value

[patch net 1/2] net: hns: fix return value of the function about rss

2016-03-09 Thread Kejian Yan
Both .get_rxfh and .get_rxfh are always return 0, it should return result from hardware when getting or setting rss. And the rss function should return the correct data type. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 2 +- d

[patch net 0/2] net: hns: get and set RSS indirection table by using ethtool

2016-03-09 Thread Kejian Yan
When we use ethtool to retrieves or configure the receive flow hash indirection table, ethtool needs to call .get_rxnfc to get the ring number so this patchset implements the .get_rxnfc and fixes the bug that we can not get the tatal table each time. Kejian Yan (2): net: hns: fix return value

[patch net 1/2] net: hns: fix return value of the function about rss

2016-03-09 Thread Kejian Yan
Both .get_rxfh and .get_rxfh are always return 0, it should return result from hardware when getting or setting rss. And the rss function should return the correct data type. Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 2 +- drivers/net/ethernet/hisilicon

[patch RESEND net] net: hns: fix the bug about mtu setting

2016-03-09 Thread Kejian Yan
In chip V1, the maximum mtu value is 9600 for service ports and 1514 for debug ports. And in chip V2, it is 9728 for service ports and 1514 for debug ports. But it is always configurates as 9600 before this patch. This patch will configurate the right mtu value. Signed-off-by: Kejian Yan <yan

[patch RESEND net] net: hns: fix the bug about mtu setting

2016-03-09 Thread Kejian Yan
In chip V1, the maximum mtu value is 9600 for service ports and 1514 for debug ports. And in chip V2, it is 9728 for service ports and 1514 for debug ports. But it is always configurates as 9600 before this patch. This patch will configurate the right mtu value. Signed-off-by: Kejian Yan

[PATCH v2 net] net: hns: fix the bug about loopback

2016-03-04 Thread Kejian Yan
It will always be passed if the soc is tested the loopback cases. This patch will fix this bug. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- change log: PATCH v2: - This patch fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Link: https://lkml.org/lkml/

[PATCH v2 net] net: hns: fix the bug about loopback

2016-03-04 Thread Kejian Yan
It will always be passed if the soc is tested the loopback cases. This patch will fix this bug. Signed-off-by: Kejian Yan --- change log: PATCH v2: - This patch fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Link: https://lkml.org/lkml/2016/3/3/266 --- drivers/net

[PATCH net] net: hns: fix the bug about loopback

2016-03-03 Thread Kejian Yan
It will always be passed if the soc is tested the loopback cases. This patch will fix this bug. Signed-off-by: Kejian Yan <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 + drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.

[PATCH net] net: hns: fix the fault about mtu setting

2016-03-03 Thread Kejian Yan
As the User Manual describes, maximum value are 9728 for service ports and 1500 for debug ports, not always 9600. So it needs to be configured to right value for the different port. The max frame len of ppe needs to be set to the right as well. Signed-off-by: Kejian Yan <yankej...@huawei.

[PATCH net] net: hns: fix the bug about loopback

2016-03-03 Thread Kejian Yan
It will always be passed if the soc is tested the loopback cases. This patch will fix this bug. Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 + drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 37 drivers/net/ethernet

[PATCH net] net: hns: fix the fault about mtu setting

2016-03-03 Thread Kejian Yan
As the User Manual describes, maximum value are 9728 for service ports and 1500 for debug ports, not always 9600. So it needs to be configured to right value for the different port. The max frame len of ppe needs to be set to the right as well. Signed-off-by: Kejian Yan --- drivers/net/ethernet

[PATCH v2 net-next] net: hns: optimize XGE capability by reducing cpu usage

2015-12-07 Thread Kejian Yan
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 --- change log: v2: fixes the review comments by Devid and joe: - makes indented properly

[PATCH v2 net-next] net: hns: optimize XGE capability by reducing cpu usage

2015-12-07 Thread Kejian Yan
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 <yankej...@huawei.com> --- change log: v2: fixes the review comments by Devid and joe: -