[PATCH net-next v3 17/19] net: ti: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/ti/cpsw_ale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti

[PATCH net-next v3 13/19] net: qlcnic: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Himanshu Madhani himanshu.madh...@qlogic.com Cc: Rajesh Borundia rajesh.borun...@qlogic.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/qlogic/qlcnic

[PATCH net-next v3 19/19] net: plip: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_64bits to instead of memcmp. Cc: David S. Miller da...@davemloft.net Suggested-by: Eric Dumazet eduma...@google.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/plip/plip.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH net-next v3 03/19] net: cxgb3: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Santosh Raspatur sant...@chelsio.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 2 +- drivers/net/ethernet/chelsio/cxgb3/l2t.c | 2 +- 2 files

[PATCH net-next v3 16/19] net: sun: optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/sun/sunvnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/sun

[PATCH net-next v3 07/19] net: ixgbe: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com Cc: Jesse Brandeburg jesse.brandeb...@intel.com Cc: Bruce Allan bruce.w.al...@intel.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/intel/ixgbe

[PATCH net-next v3 09/19] net: ksz884x: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/micrel/ksz884x.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net

[PATCH net-next v3 15/19] net: seeq: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/seeq/sgiseeq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/seeq

[PATCH net-next v3 18/19] net: fddi: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/fddi/skfp/fplustm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/fddi/skfp

[PATCH net-next v3 06/19] net: igbvf: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com Cc: Jesse Brandeburg jesse.brandeb...@intel.com Cc: Carolyn Wyborny carolyn.wybo...@intel.com Cc: Don Skidmore donald.c.skidm...@intel.com Signed-off-by: Ding Tianhong dingtianh

[PATCH net-next v3 05/19] net: benet: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Sathya Perla sathya.pe...@emulex.com Cc: Subbu Seetharaman subbu.seethara...@emulex.com Cc: Ajit Khaparde ajit.khapa...@emulex.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/emulex/benet

[PATCH net-next v3 14/19] net: renesas: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/renesas/sh_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet

[PATCH net-next v3 12/19] net: netxen: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Manish Chopra manish.cho...@qlogic.com Cc: Sony Chacko sony.cha...@qlogic.com Cc: Rajesh Borundia rajesh.borun...@qlogic.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/qlogic/netxen

[PATCH net-next v3 11/19] net: packetengines: slight optimization of addr

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/packetengines/yellowfin.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git

[PATCH net-next v3 04/19] net: enic: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Christian Benvenuti be...@cisco.com Cc: Sujith Sankar ssuj...@cisco.com Cc: Govindarajulu Varadarajan govindarajul...@gmail.com Cc: Neel Patel neepa...@cisco.com Cc: Nishank Trivedi nistr...@cisco.com Signed-off-by: Ding

[PATCH net-next 3/7] bonding: slight optimization for bond_alb_xmit()

2013-12-31 Thread Ding Tianhong
The bond_alb_xmit will check the return value for bond_dev_queue_xmit() every time, but the bond_dev_queue_xmit() is always return 0, it is no need to check the value every time, so remove the unneed judgement for the xmit path. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers

[PATCH net-next 2/7] bonding: slight optimization for bond_3ad_xmit_xor()

2013-12-31 Thread Ding Tianhong
The bond_dev_queue_xmit() will always return 0, and as a fast path, it is inappropriate to check the res value when xmit every package, so remove the res check and avoid once judgement for xmit. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_3ad.c | 22

[PATCH net-next 5/7] bonding: remove unwanted return value for bond_dev_queue_xmit()

2013-12-31 Thread Ding Tianhong
The return value for bond_dev_queue_xmit() will not be used anymore, so remove the return value. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_main.c | 4 +--- drivers/net/bonding/bonding.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH net-next 7/7] bonding: use ether_addr_equal_64bits to instead of ether_addr_equal

2013-12-31 Thread Ding Tianhong
The net_device.dev_addr have more than 2 bytes of additional data after the mac addr, so it is safe to use the ether_addr_equal_64bits(). Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2013-12-31 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_64bits to instead of memcmp. Modify the MAC_ADDR_COMPARE to MAC_ADDR_EQUAL, this looks more appropriate. The comments for the bond 3ad is too old, cleanup some errors and warming. Suggested-by: Joe Perches j...@perches.com Signed-off-by: Ding

[PATCH net-next 4/7] bonding: slight optimizztion for bond_slave_override()

2013-12-31 Thread Ding Tianhong
When the skb is xmit by the function bond_slave_override(), it will have duplicate judgement for slave state, and I think it will consumes a little performance, maybe it is negligible, so I simplify the function and remove the unwanted judgement. Signed-off-by: Ding Tianhong dingtianh

[PATCH net-next 0/7] bonding: slight optimization for bonding

2013-12-31 Thread Ding Tianhong
it in this patchset and that she could miss the bonding drivers. Regards Ding Ding Tianhong (7): bonding: use ether_addr_equal_unaligned for bond addr compare bonding: slight optimization for bond_3ad_xmit_xor() bonding: slight optimization for bond_alb_xmit() bonding: slight optimizztion

[PATCH net-next 6/7] bonding: remove the return value for bond_3ad_bind_slave()

2013-12-31 Thread Ding Tianhong
. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_3ad.c | 36 +++- drivers/net/bonding/bond_3ad.h | 2 +- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c

[PATCH RESEND net-next 3/7] bonding: slight optimization for bond_alb_xmit()

2014-01-01 Thread Ding Tianhong
The bond_alb_xmit will check the return value for bond_dev_queue_xmit() every time, but the bond_dev_queue_xmit() is always return 0, it is no need to check the value every time, so remove the unneed judgement for the xmit path. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers

[PATCH RESEND net-next 2/7] bonding: slight optimization for bond_3ad_xmit_xor()

2014-01-01 Thread Ding Tianhong
The bond_dev_queue_xmit() will always return 0, and as a fast path, it is inappropriate to check the res value when xmit every package, so remove the res check and avoid once judgement for xmit. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_3ad.c | 22

[PATCH RESEND net-next 5/7] bonding: remove unwanted return value for bond_dev_queue_xmit()

2014-01-01 Thread Ding Tianhong
The return value for bond_dev_queue_xmit() will not be used anymore, so remove the return value. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_main.c | 4 +--- drivers/net/bonding/bonding.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH RESEND net-next 6/7] bonding: remove the return value for bond_3ad_bind_slave()

2014-01-01 Thread Ding Tianhong
. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_3ad.c | 36 +++- drivers/net/bonding/bond_3ad.h | 2 +- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c

[PATCH RESEND net-next 7/7] bonding: use ether_addr_equal_64bits to instead of ether_addr_equal

2014-01-01 Thread Ding Tianhong
The net_device.dev_addr have more than 2 bytes of additional data after the mac addr, so it is safe to use the ether_addr_equal_64bits(). Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-01 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_64bits to instead of memcmp. Modify the MAC_ADDR_COMPARE to MAC_ADDR_EQUAL, this looks more appropriate. The comments for the bond 3ad is too old, cleanup some errors and warming. Suggested-by: Joe Perches j...@perches.com Signed-off-by: Ding

[PATCH RESEND net-next 0/7] bonding: slight optimization for bonding

2014-01-01 Thread Ding Tianhong
it in this patchset and that she could miss the bonding drivers. resend and add cc for Julia. Regards Ding Ding Tianhong (7): bonding: use ether_addr_equal_unaligned for bond addr compare bonding: slight optimization for bond_3ad_xmit_xor() bonding: slight optimization for bond_alb_xmit() bonding: slight

[PATCH RESEND net-next 4/7] bonding: slight optimizztion for bond_slave_override()

2014-01-01 Thread Ding Tianhong
When the skb is xmit by the function bond_slave_override(), it will have duplicate judgement for slave state, and I think it will consumes a little performance, maybe it is negligible, so I simplify the function and remove the unwanted judgement. Signed-off-by: Ding Tianhong dingtianh

Re: [PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-02 Thread Ding Tianhong
On 2014/1/2 15:39, Julia Lawall wrote: Are the casts needed Yes, otherwise the warming will report: /net-next/drivers/net/bonding/bond_3ad.c:427: warning: passing argument 1 of ‘ether_addr_equal_64bits’ from incompatible pointer type Regards Ding -- To unsubscribe from this list: send the

Re: [PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-02 Thread Ding Tianhong
On 2014/1/2 16:38, Julia Lawall wrote: On Thu, 2 Jan 2014, Ding Tianhong wrote: On 2014/1/2 15:39, Julia Lawall wrote: Are the casts needed Yes, otherwise the warming will report: /net-next/drivers/net/bonding/bond_3ad.c:427: warning: passing argument 1 of ‘ether_addr_equal_64bits

Re: [PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-02 Thread Ding Tianhong
On 2014/1/2 17:14, Julia Lawall wrote: On Thu, 2 Jan 2014, Ding Tianhong wrote: On 2014/1/2 16:38, Julia Lawall wrote: On Thu, 2 Jan 2014, Ding Tianhong wrote: On 2014/1/2 15:39, Julia Lawall wrote: Are the casts needed Yes, otherwise the warming will report: /net-next/drivers/net

Re: [PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-02 Thread Ding Tianhong
On 2014/1/2 18:26, Ding Tianhong wrote: On 2014/1/2 17:14, Julia Lawall wrote: On Thu, 2 Jan 2014, Ding Tianhong wrote: On 2014/1/2 16:38, Julia Lawall wrote: On Thu, 2 Jan 2014, Ding Tianhong wrote: On 2014/1/2 15:39, Julia Lawall wrote: Are the casts needed Yes, otherwise the warming

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-24 Thread Ding Tianhong
On 2014/3/25 11:00, Zheng Li wrote: In bond mode tlb and alb, inactive slaves should keep inactive flag to 1 to refuse to receive broadcast packets. Now, active slave send broadcast packets (for example ARP requests) which will arrive inactive slaves on same host from switch, but inactive

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-25 Thread Ding Tianhong
On 2014/3/25 16:36, zheng.li wrote: 于 2014年03月25日 11:42, Ding Tianhong 写道: On 2014/3/25 11:00, Zheng Li wrote: In bond mode tlb and alb, inactive slaves should keep inactive flag to 1 to refuse to receive broadcast packets. Now, active slave send broadcast packets (for example ARP requests

Re: [PATCH] arm64: add OProfile support

2014-04-27 Thread Ding Tianhong
On 2014/4/26 18:22, Ding Tianhong wrote: On 2014/4/26 17:23, Catalin Marinas wrote: On 26 Apr 2014, at 09:38, Ding Tianhong dingtianh...@huawei.com wrote: Add OProfile support for arm64, using the perf backend, and failing back to generic timer based sampling if PMU interrupt is not supported

Re: [PATCH] arm64: add OProfile support

2014-05-05 Thread Ding Tianhong
On 2014/4/29 4:39, William Cohen wrote: On 04/27/2014 10:32 PM, Ding Tianhong wrote: On 2014/4/26 18:22, Ding Tianhong wrote: On 2014/4/26 17:23, Catalin Marinas wrote: On 26 Apr 2014, at 09:38, Ding Tianhong dingtianh...@huawei.com wrote: Add OProfile support for arm64, using the perf

[PATCH] arm64: add OProfile support

2014-04-26 Thread Ding Tianhong
...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- arch/arm64/Kconfig | 1 + arch/arm64/Makefile | 2 + arch/arm64/include/asm/stacktrace.h | 1 + arch/arm64/kernel/perf_event.c | 13 - arch/arm64/oprofile/Makefile| 13

Re: [PATCH] arm64: add OProfile support

2014-04-26 Thread Ding Tianhong
On 2014/4/26 17:23, Catalin Marinas wrote: On 26 Apr 2014, at 09:38, Ding Tianhong dingtianh...@huawei.com wrote: Add OProfile support for arm64, using the perf backend, and failing back to generic timer based sampling if PMU interrupt is not supported. I have test this patch on Cortex-A53

Re: [PATCH] arm64: Flush the process's mm context TLB entries when switching

2014-04-14 Thread Ding Tianhong
On 2014/4/14 21:01, Will Deacon wrote: Hi Ding, On Mon, Apr 14, 2014 at 01:03:12PM +0100, Ding Tianhong wrote: I met a problem when migrating process by following steps: 1) The process was already running on core 0. 2) Set the CPU affinity of the process to 0x02 and move it to core 1

Re: [PATCH] arm64: Flush the process's mm context TLB entries when switching

2014-04-15 Thread Ding Tianhong
On 2014/4/15 16:02, Will Deacon wrote: On Tue, Apr 15, 2014 at 03:00:24AM +0100, Ding Tianhong wrote: On 2014/4/14 21:01, Will Deacon wrote: Hi Ding, On Mon, Apr 14, 2014 at 01:03:12PM +0100, Ding Tianhong wrote: I met a problem when migrating process by following steps: 1) The process

[PATCH] arm64: Flush the process's mm context TLB entries when switching

2014-04-14 Thread Ding Tianhong
, the modification of the TLB entries in the new core didn't inform all other cores to invalidate the old TLB entries which was in the inner shareable caches, and then if the process schedule to another core, the old TLB entries may occur MMU faults. Signed-off-by: Ding Tianhong dingtianh...@huawei.com

[PATCH] firmware: fix the compiller warning

2014-06-19 Thread Ding Tianhong
] const char *type, *name; so remove the unused variable and clean this warning. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/firmware/efi/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/fdt.c b/drivers/firmware/efi/fdt.c index

[PATCH 00/21] slight optimization of addr compare for some modules

2013-12-22 Thread Ding Tianhong
more efficient ether_addr_equal_unaligned to instead of memcmp for slight optimization. Ding Tianhong (6): net: slight optimization of addr compare for some modules net: freescale: slight optimization of addr compare net: pcnet: slight optimization of addr compare net: atl1: slight

[PATCH 04/21] net: atl1: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Jay Cliburn jclib...@gmail.com Cc: Chris Snook chris.sn...@gmail.com Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com

[PATCH 09/21] batman-adv: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
@lists.open-mesh.org Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Tan Xiaojun tanxiao...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/batman-adv/originator.c| 2 +- net/batman-adv/translation-table.c | 2 +- 2 files changed, 2 insertions

[PATCH 01/21] net: slight optimization of addr compare for some modules

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: e1000-de...@lists.sourceforge.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com

[PATCH 11/21] infiniband: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
-kernel@vger.kernel.org Signed-off-by: Wang Weidong wangweido...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/infiniband/hw/nes/nes_cm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/nes/nes_cm.c b/drivers/infiniband/hw

[PATCH 13/21] mac8011: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
-by: Wang Weidong wangweido...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/mac80211/iface.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 7aa9f9d..1773e17 100644 --- a/net/mac80211/iface.c

[PATCH 07/21] isdn: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Karsten Keil i...@linux-pingi.de Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Yang Yingliang yangyingli...@huawei.com Signed-off-by: Ding Tianhong dingtianh

[PATCH 18/21] cw1200: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
-by: Weilong Chen chenweil...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/cw1200/sta.c | 4 ++-- drivers/net/wireless/cw1200/txrx.c | 7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/cw1200/sta.c b/drivers/net

[PATCH 14/21] rtlwifi: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
: linux-kernel@vger.kernel.org Signed-off-by: Weilong Chen chenweil...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/rtlwifi/cam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/cam.c b/drivers/net

[PATCH 15/21] mwifiex: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Chen chenweil...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/mwifiex/11n.c | 4 ++-- drivers/net/wireless/mwifiex/11n_rxreorder.c | 4 ++-- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- drivers/net/wireless/mwifiex/scan.c | 4

[PATCH 17/21] hostap: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
chenweil...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/hostap/hostap_80211_rx.c | 24 +++ drivers/net/wireless/hostap/hostap_80211_tx.c | 4 ++-- drivers/net/wireless/hostap/hostap_ap.c | 28 +-- drivers

[PATCH 10/21] media: dvb_core: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-me...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Yang Yingliang yangyingli...@huawei.com Signed-off-by: Ding Tianhong

[PATCH 19/21] wireless: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/adm8211.c| 2 +- drivers/net/wireless/ath/ath10k/mac.c | 2 +- drivers/net/wireless/ath/ath10k/txrx.c| 2 +- drivers/net/wireless/ath/ath6kl/cfg80211.c| 2

[PATCH 08/21] ozwpan: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/staging/ozwpan/ozcdev.c | 3 ++- drivers/staging/ozwpan/ozproto.c | 6 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ozwpan/ozcdev.c b/drivers/staging/ozwpan/ozcdev.c index 6ce0af9

[PATCH 20/21] hamradio: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Joerg Reuter jreu...@yaina.de Cc: linux-h...@vger.kernel.org Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net

[PATCH 05/21] atm: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/atm/nicstar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c index 5aca5f4..d636f7f 100644 --- a/drivers/atm/nicstar.c +++ b/drivers/atm/nicstar.c @@ -781,8 +781,7

[PATCH 21/21] ppp: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Michal Ostrowski mostr...@earthlink.net Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ppp/pppoe.c | 5

[PATCH 16/21] ipw2x00: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
-by: Weilong Chen chenweil...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/ipw2x00/ipw2200.c | 36 +--- drivers/net/wireless/ipw2x00/libipw_rx.c | 10 - 2 files changed, 24 insertions(+), 22 deletions(-) diff --git

[PATCH 03/21] net: pcnet: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Don Fry pcne...@frontier.com Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/amd/pcnet32.c | 2 +- 1

[PATCH 12/21] bridge: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/bridge/br_stp_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c index 656a6f3..04217d1 100644 --- a/net/bridge/br_stp_if.c +++ b/net/bridge/br_stp_if.c @@ -229,7

[PATCH 06/21] zd1211rw: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
@vger.kernel.org Signed-off-by: Tan Xiaojun tanxiao...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/zd1211rw/zd_mac.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless

[PATCH 02/21] net: freescale: slight optimization of addr compare

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Li Yang le...@freescale.com Cc: net...@vger.kernel.org Cc: linuxppc-...@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net

Re: [PATCH 12/21] bridge: slight optimization of addr compare

2013-12-23 Thread Ding Tianhong
On 2013/12/23 16:33, Toshiaki Makita wrote: On Mon, 2013-12-23 at 13:10 +0800, Ding Tianhong wrote: Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Stephen Hemminger step...@networkplumber.org Cc: David Miller da...@davemloft.net Cc

Re: [PATCH 00/21] slight optimization of addr compare for some modules

2013-12-23 Thread Ding Tianhong
On 2013/12/23 16:28, Joe Perches wrote: On Mon, 2013-12-23 at 13:09 +0800, Ding Tianhong wrote: I use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp for slight optimization. Hi again. These are the sorts of conversions that could be either

Re: [PATCH 09/21] batman-adv: slight optimization of addr compare

2013-12-23 Thread Ding Tianhong
On 2013/12/23 16:46, Antonio Quartulli wrote: On 23/12/13 06:10, Ding Tianhong wrote: [...] --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -41,7 +41,7 @@ int batadv_compare_orig(const struct hlist_node *node, const void *data2) const void *data1

Re: [PATCH 09/21] batman-adv: slight optimization of addr compare

2013-12-23 Thread Ding Tianhong
On 2013/12/23 16:59, Joe Perches wrote: On Mon, 2013-12-23 at 09:46 +0100, Antonio Quartulli wrote: On 23/12/13 06:10, Ding Tianhong wrote: [...] --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -41,7 +41,7 @@ int batadv_compare_orig(const struct hlist_node *node

Re: [PATCH 09/21] batman-adv: slight optimization of addr compare

2013-12-23 Thread Ding Tianhong
On 2013/12/23 17:06, Antonio Quartulli wrote: On 23/12/13 09:59, Joe Perches wrote: On Mon, 2013-12-23 at 09:46 +0100, Antonio Quartulli wrote: On 23/12/13 06:10, Ding Tianhong wrote: [...] --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -41,7 +41,7 @@ int

Re: [PATCH 19/21] wireless: slight optimization of addr compare

2013-12-23 Thread Ding Tianhong
于 2013/12/23 21:47, Felix Fietkau 写道: On 2013-12-23 06:11, Ding Tianhong wrote: Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. It looks to me like all of these (including the ones in the other similar patches) are in places, where

Re: [E1000-devel] [PATCH 01/21] net: slight optimization of addr compare for some modules

2013-12-23 Thread Ding Tianhong
On 2013/12/24 1:20, Alexander Duyck wrote: On 12/22/2013 09:09 PM, Ding Tianhong wrote: Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc

[PATCH v2 02/20] net: freescale: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
The function did not be used any more, so remove it. Cc: Li Yang le...@freescale.com Cc: net...@vger.kernel.org Cc: linuxppc-...@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/freescale/ucc_geth.c | 5 - 1 file

[PATCH v2 03/20] net: pcnet: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Don Fry pcne...@frontier.com Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/amd/pcnet32.c | 2 +- 1 file changed, 1

[PATCH v2 00/20] slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
. Also remove the patch for bridge. Regards Ding Ding Tianhong (6): net: slight optimization of addr compare for some modules net: freescale: remove unused compare_addr() net: pcnet: slight optimization of addr compare net: atl1: slight optimization of addr compare hamradio

[PATCH v2 10/20] infiniband: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
-off-by: Wang Weidong wangweido...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/infiniband/hw/nes/nes_cm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/nes/nes_cm.c b/drivers/infiniband/hw/nes/nes_cm.c index 6b29249

[PATCH v2 14/20] media: dvb_core: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal instead of memcmp. Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-me...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Yang Yingliang yangyingli...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers

[PATCH v2 09/20] ozwpan: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal instead of memcmp. Cc: Rupesh Gujare rupesh.guj...@atmel.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: de...@driverdev.osuosl.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Tan Xiaojun tanxiao...@huawei.com Signed-off-by: Ding Tianhong

[PATCH v2 11/20] mac8011: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/mac80211/iface.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 7aa9f9d..a4f9812 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c

[PATCH v2 07/20] batman-adv: use batadv_compare_eth for concise

2013-12-24 Thread Ding Tianhong
...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Tan Xiaojun tanxiao...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/batman-adv/originator.c| 2 +- net/batman-adv/translation-table.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 13/20] isdn: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal instead of memcmp. Cc: Karsten Keil i...@linux-pingi.de Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Yang Yingliang yangyingli...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/isdn/i4l

[PATCH v2 18/20] mwifiex: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/mwifiex/11n.c | 2 +- drivers/net/wireless/mwifiex/sta_cmdresp.c | 3 +-- drivers/net/wireless/mwifiex/sta_rx.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/mwifiex/11n.c

[PATCH v2 15/20] hostap: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/hostap/hostap_80211_tx.c | 4 ++-- drivers/net/wireless/hostap/hostap_ap.c | 28 +-- drivers/net/wireless/hostap/hostap_hw.c | 2 +- drivers/net/wireless/hostap/hostap_ioctl.c| 4 ++-- drivers

[PATCH v2 19/20] rtlwifi: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
@vger.kernel.org Signed-off-by: Weilong Chen chenweil...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/rtlwifi/cam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/cam.c b/drivers/net/wireless/rtlwifi/cam.c index

[PATCH v2 17/20] ipw2x00: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/ipw2x00/ipw2200.c | 34 drivers/net/wireless/ipw2x00/libipw_rx.c | 10 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/net/wireless/ipw2x00

[PATCH v2 16/20] cw1200: atm: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/cw1200/sta.c | 5 +++-- drivers/net/wireless/cw1200/txrx.c | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/cw1200/sta.c b/drivers/net/wireless/cw1200/sta.c index 010b252..103f7bc

[PATCH v2 20/20] wireless: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/adm8211.c| 2 +- drivers/net/wireless/brcm80211/brcmfmac/p2p.c | 7 +++ drivers/net/wireless/hostap/hostap_80211_rx.c | 8 drivers/net/wireless/prism54/isl_ioctl.c | 3 ++- drivers/net/wireless/ti

[PATCH v2 12/20] atm: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal instead of memcmp. Cc: Chas Williams c...@cmf.nrl.navy.mil Cc: linux-atm-gene...@lists.sourceforge.net Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Yang Yingliang yangyingli...@huawei.com Signed-off-by: Ding Tianhong

[PATCH v2 08/20] zd1211rw: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Xiaojun tanxiao...@huawei.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/wireless/zd1211rw/zd_mac.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index eff79a3..e7af261

[PATCH v2 05/20] hamradio: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Joerg Reuter jreu...@yaina.de Cc: linux-h...@vger.kernel.org Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/hamradio/bpqether.c | 2 +- 1 file

[PATCH v2 06/20] ppp: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Michal Ostrowski mostr...@earthlink.net Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ppp/pppoe.c | 5 +++-- 1 file changed, 3 insertions

[PATCH v2 04/20] net: atl1: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: Jay Cliburn jclib...@gmail.com Cc: Chris Snook chris.sn...@gmail.com Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com

[PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_unaligned and ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: e1000-de...@lists.sourceforge.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com

[PATCH RESEND v2 03/20] net: pcnet: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Don Fry pcne...@frontier.com Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/amd/pcnet32.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 03/20] net: pcnet: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
于 2013/12/24 20:38, Joe Perches 写道: On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Hi again Ding. diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet/amd/pcnet32.c [] @@ -1668,7

Re: [PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
于 2013/12/24 22:22, Joe Perches 写道: On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal_unaligned and ether_addr_equal to instead of memcmp. A negative of adding so many different drivers in a single patch is that you miss sending patches

Re: [PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
于 2013/12/24 23:05, Joe Perches 写道: On Tue, 2013-12-24 at 22:35 +0800, Ding Tianhong wrote: 于 2013/12/24 22:22, Joe Perches 写道: On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal_unaligned and ether_addr_equal to instead of memcmp

Re: [PATCH v2 03/20] net: pcnet: slight optimization of addr compare

2013-12-24 Thread Ding Tianhong
On 2013/12/25 1:59, David Miller wrote: From: Ding Tianhong dthx...@gmail.com Date: Tue, 24 Dec 2013 21:47:30 +0800 Oh, no, maybe I was dizzy by these patches, I should be more careful, sorry about that, I will resend this one. You must resend the entire patch series when you make any

<    1   2   3   4   5   6   7   8   9   >