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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
...@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
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
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
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
, 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
]
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
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
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
@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
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
-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
-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
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
-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
: 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
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
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
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
-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
...@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
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
...@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
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
-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
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
...@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
@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
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
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
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
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
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
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
于 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
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
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
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
.
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
-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
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
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
...@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
...@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
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
-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
-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
@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
...@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
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
-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
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
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
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
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
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
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
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
于 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
于 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
于 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
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
101 - 200 of 887 matches
Mail list logo