Re: 3.11-rc6 genetlink locking fix offends lockdep

2013-08-19 Thread Ding Tianhong
On 2013/8/19 16:00, Johannes Berg wrote: 3.11-rc6's commit 58ad436fcf49 (genetlink: fix family dump race) gives me the lockdep trace below at startup. Hmm. Yes, I see now how this happens, not sure why I didn't run into it. The problem is that genl_family_rcv_msg() is called with the

Re: [PATCH tip/core/rcu 11/14] bonding/bond_main: Apply ACCESS_ONCE() to avoid sparse false positive

2013-11-15 Thread Ding Tianhong
于 2013/11/16 8:40, Paul E. McKenney 写道: From: Paul E. McKenney paul...@linux.vnet.ibm.com The sparse checking for rcu_assign_pointer() was recently upgraded to reject non-__kernel address spaces. This also rejects __rcu, which is almost always the right thing to do. However, the uses in

[PATCH net] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
, and then the real dev will call ndo_set_rx_mode(), if the real dev is vlan dev, the ndo_set_rx_mode() will hold netif_addr_lock again, so deadlock happened. Don't allow to add vlan on vlan dev to fix this problem. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/8021q/vlan.c | 5

Re: [PATCH net] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
On 2014/2/28 10:08, Ding Tianhong wrote: I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig eth2 xx.xx.xx.xx then the Call Trace happened: [32524.386288] = [32524.386293] [ INFO: possible recursive locking

[PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
, and then the real dev will call ndo_set_rx_mode(), if the real dev is vlan dev, the ndo_set_rx_mode() will hold netif_addr_lock again, so deadlock happened. Don't allow to add vlan on vlan dev to fix this problem. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/8021q/vlan.c | 5

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
On 2014/2/28 11:45, John Fastabend wrote: On 2/27/2014 6:43 PM, Ding Tianhong wrote: I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig eth2 xx.xx.xx.xx then the Call Trace happened

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-02-27 Thread Ding Tianhong
On 2014/2/28 13:41, Florian Fainelli wrote: 2014-02-27 21:26 GMT-08:00 Ding Tianhong dingtianh...@huawei.com: On 2014/2/28 11:45, John Fastabend wrote: On 2/27/2014 6:43 PM, Ding Tianhong wrote: I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig eth2

Re: [PATCH net RESEND] vlan: don't allow to add VLAN on VLAN device

2014-03-04 Thread Ding Tianhong
On 2014/3/5 8:10, Ben Hutchings wrote: On Thu, 2014-02-27 at 19:45 -0800, John Fastabend wrote: On 2/27/2014 6:43 PM, Ding Tianhong wrote: I run these steps: modprobe 8021q vconfig add eth2 20 vconfig add eth2.20 20 ifconfig eth2 xx.xx.xx.xx then the Call Trace happened

Re: [PATCH net-next 0/4] bonding cleaning

2014-02-16 Thread Ding Tianhong
/bond_netlink.c | 6 +- drivers/net/bonding/bond_options.c | 102 drivers/net/bonding/bond_procfs.c | 8 +- drivers/net/bonding/bond_sysfs.c | 8 +- 9 files changed, 288 insertions(+), 307 deletions(-) Reviewed-by: Ding Tianhong dingtianh...@huawei.com -- To unsubscribe

Re: [PATCH net-next 0/3] bonding: More ether_addr_copy and neatenings.

2014-02-18 Thread Ding Tianhong
/bond_main.c | 6 +++--- 3 files changed, 21 insertions(+), 23 deletions(-) Reviewed-by: Ding Tianhong dingtianh...@huawei.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1.

2014-03-20 Thread Ding Tianhong
On 2014/3/20 16:51, Zheng Li wrote: Except bond mode 1, in other bond modes, 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

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1.

2014-03-21 Thread Ding Tianhong
On 2014/3/21 10:39, zheng.li wrote: 于 2014年03月21日 01:02, Jay Vosburgh 写道: Zheng Li zheng.x...@oracle.com wrote: Except bond mode 1, in other bond modes, inactive slaves should keep inactive flag to 1 to refuse to receive broadcast packets. Now, active slave send broadcast packets (for

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: Hi both, Thanks for your patches. I tried to test your patches, first the 2nd one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and test Cong's patch, it failed to happen again. I remember this bug happened randomly at the very

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: Hi both, Thanks for your patches. I tried to test your patches, first the 2nd one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and test Cong's patch, it failed to happen again. I remember this bug happened randomly at the very

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 16:24, Baoquan He wrote: Hi Tianhong, I applied your patch and execute below cmd. Then keyboard inputting problems happened, I can't enter user/password correctly, then reboot again, it's OK now. Thanks for your work, I don't understand that the keyboard problem is the patch

Re: [PATCH] ipv6: ipv6_create_tempaddr cleanup

2013-09-02 Thread Ding Tianhong
...@redhat.com Uh, yes, I missed that. Thanks a lot! Acked-by: Hannes Frederic Sowa han...@stressinduktion.org Acked-by: Ding Tianhong dingtianh...@huawei.com -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info

Re: HULK management policy and user manual-v1.4//Re: 收集了大家的意见,修改了部分分支管理。//欧拉统一内核版本管理策略以及操作手册//Re: 确认一下各位要访问哪些仓库 // Re: 请各位提供访问 git 服务器的公钥 // Re: Fw: 需要加入中软内部git以及maillist的名单

2014-05-06 Thread Ding Tianhong
On 2014/5/7 10:45, Li Zefan wrote: On 2014/5/6 20:19, Ding Tianhong wrote: On 2014/5/6 19:15, sanil kumar wrote: On 5/6/2014 4:37 PM, Ding Tianhong wrote: On 2014/5/6 17:29, maobibo 00177601 wrote: Hi Tianhong, I have two questions about the HULK 1) When we get kernel from HULK

[PATCH net-next] vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu_rcu()

2014-05-07 Thread Ding Tianhong
The __vlan_find_dev_deep should always called in RCU, according David's suggestion, rename to __vlan_find_dev_deep_rcu looks more reasonable. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 2 +- drivers/net/ethernet/chelsio/cxgb4

Re: [PATCH net-next] vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu_rcu()

2014-05-08 Thread Ding Tianhong
On 2014/5/8 10:29, Ding Tianhong wrote: The __vlan_find_dev_deep should always called in RCU, according David's suggestion, rename to __vlan_find_dev_deep_rcu looks more reasonable. Signed-off-by: Ding Tianhong dingtianh...@huawei.com Self Nacked, I make this patch from net repository

[PATCH net-next RESEND] vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu_rcu()

2014-05-09 Thread Ding Tianhong
The __vlan_find_dev_deep should always called in RCU, according David's suggestion, rename to __vlan_find_dev_deep_rcu looks more reasonable. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 2 +- drivers/net/ethernet/chelsio/cxgb4

Re: [PATCH v3.5 10/19] mac8011: slight optimization of addr compare

2014-01-06 Thread Ding Tianhong
On 2014/1/6 23:11, Johannes Berg wrote: On Thu, 2013-12-26 at 19:40 +0800, Ding Tianhong wrote: Use the possibly more efficient ether_addr_equal to instead of memcmp. This is a slow-path, I don't think that's really worth it. It kinda makes sense, but relies on the struct mac_address

Re: [PATCH v3 13/19] media: dvb_core: slight optimization of addr compare

2014-01-07 Thread Ding Tianhong
On 2014/1/7 21:54, Mauro Carvalho Chehab wrote: Em Thu, 26 Dec 2013 19:09:10 +0800 Ding Tianhong dingtianh...@huawei.com escreveu: On 2013/12/25 18:57, Sergei Shtylyov wrote: Hello. On 25-12-2013 7:29, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal instead of memcmp

[PATCH v3.6 02/19] net: pcnet: slight optimization of addr compare

2014-01-07 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

[PATCH v3.6 14/19] hostap: slight optimization of addr compare

2014-01-07 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 v3.6 08/19] ozwpan: slight optimization of addr compare

2014-01-07 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 v3.6 18/19] rtlwifi: slight optimization of addr compare

2014-01-07 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 v3.6 13/19] media: dvb_core: slight optimization of addr compare

2014-01-07 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 Acked

[PATCH v3.6 05/19] ppp: slight optimization of addr compare

2014-01-07 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 | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3.6 07/19] zd1211rw: slight optimization of addr compare

2014-01-07 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 v3.6 12/19] isdn: slight optimization of addr compare

2014-01-07 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 v3.6 04/19] hamradio: slight optimization of addr compare

2014-01-07 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 v3.6 09/19] infiniband: slight optimization of addr compare

2014-01-07 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 v3.6 10/19] mac8011: slight optimization of addr compare

2014-01-07 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 v3.6 00/19] slight optimization of addr compare for some modules

2014-01-07 Thread Ding Tianhong
...@samsung.com Best Regards Ding Ding Tianhong (5): net: freescale: remove unused compare_addr() net: pcnet: slight optimization of addr compare net: atl1: slight optimization of addr compare hamradio: slight optimization of addr compare ppp: slight optimization of addr compare

[PATCH v3.6 06/19] batman-adv: use batadv_compare_eth for concise

2014-01-07 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 Acked-by: Antonio Quartulli anto...@meshcoding.com --- net/batman-adv/originator.c| 2 +- net/batman-adv/translation-table.c | 2 +- 2

[PATCH v3.6 01/19] net: freescale: remove unused compare_addr()

2014-01-07 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 v3.6 17/19] mwifiex: slight optimization of addr compare

2014-01-07 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 v3.6 03/19] net: atl1: slight optimization of addr compare

2014-01-07 Thread Ding Tianhong
-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/atheros/atlx/atl1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index 538211d..55d86ec 100644 --- a/drivers/net/ethernet

[PATCH v3.6 15/19] cw1200: slight optimization of addr compare

2014-01-07 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

Re: [PATCH v3.5 17/19] mwifiex: slight optimization of addr compare

2014-01-07 Thread Ding Tianhong
On 2014/1/8 10:50, Bing Zhao wrote: Hi Ding, Use possibly more efficient ether_addr_equal instead of memcmp. @@ -782,8 +782,7 @@ static int mwifiex_ret_ibss_coalescing_status(struct mwifiex_private *priv, } /* If BSSID is diff, modify current BSS parameters */ -if

[PATCH v3.6 11/19] atm: slight optimization of addr compare

2014-01-07 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 v3.6 16/19] ipw2x00: slight optimization of addr compare

2014-01-07 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 v3.6 19/19] wireless: slight optimization of addr compare

2014-01-07 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

Re: [B.A.T.M.A.N.] [PATCH v3.6 06/19] batman-adv: use batadv_compare_eth for concise

2014-01-07 Thread Ding Tianhong
On 2014/1/8 15:06, Antonio Quartulli wrote: On 08/01/14 03:53, Ding Tianhong wrote: It is better to use batadv_compate_eth instead of memcpy for concise style. Cc: Marek Lindner mareklind...@neomailbox.ch Cc: Simon Wunderlich s...@simonwunderlich.de Cc: Antonio Quartulli anto

Re: [RFC] sysfs_rename_link() and its usage

2014-01-14 Thread Ding Tianhong
On 2014/1/15 1:17, Veaceslav Falico wrote: Hi, I'm hitting a strange issue and/or I'm completely lost in sysfs internals. Consider having two net_device *a, *b; which are registered normally. Now, to create a link from /sys/class/net/a-name/linkname to b, one should use:

[PATCH net-next 01/20] net: 3com: slight optimization of addr compare

2013-12-26 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/3com/3c509.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/3com

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

2013-12-26 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 00/20] slight optimization of addr compare for net modules

2013-12-26 Thread Ding Tianhong
This is the second patchset for slight optimization of address compare, mainly for net tree, just following the Joe's opinion, it will help review the code for maintainers and supports. Best Regards Ding Ding Tianhong (20): net: 3com: slight optimization of addr compare net: bnx2x: slight

[PATCH net-next 20/20] net: caif: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Dmitry Tarnyagin dmitry.tarnya...@lockless.no Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/caif/cfrfml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2013-12-26 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 19/20] net: plip: slight optimization of addr compare

2013-12-26 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/plip/plip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/plip/plip.c b/drivers/net

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

2013-12-26 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 18/20] net: fddi: slight optimization of addr compare

2013-12-26 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 06/20] net: igbvf: slight optimization of addr compare

2013-12-26 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 16/20] net: sun: optimization of addr compare

2013-12-26 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 10/20] net: vxge: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jon Mason jdma...@kudzu.us Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet

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

2013-12-26 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 15/20] net: seeq: slight optimization of addr compare

2013-12-26 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 13/20] net: qlcnic: slight optimization of addr compare

2013-12-26 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 03/20] net: cxgb3: slight optimization of addr compare

2013-12-26 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 14/20] net: renesas: slight optimization of addr compare

2013-12-26 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 08/20] net: mlx4: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Amir Vadai am...@mellanox.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c| 4 ++-- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +- 2 files

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

2013-12-26 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 | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

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

2013-12-26 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 02/20] net: bnx2x: slight optimization of addr compare

2013-12-26 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Ariel Elior ari...@broadcom.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c| 10 -- drivers/net/ethernet/broadcom/bnx2x

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

2013-12-26 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

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

2013-12-27 Thread Ding Tianhong
On 2013/12/27 23:48, Eric Dumazet wrote: On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: 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/plip/plip.c | 2

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

2013-12-27 Thread Ding Tianhong
On 2013/12/28 1:06, Joe Perches wrote: On Fri, 2013-12-27 at 07:48 -0800, Eric Dumazet wrote: On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. [] diff --git a/drivers/net/plip/plip.c b/drivers/net/plip/plip.c

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

2013-12-27 Thread Ding Tianhong
On 2013/12/28 13:11, Joe Perches wrote: On Sat, 2013-12-28 at 13:07 +0800, Ding Tianhong wrote: On 2013/12/28 1:06, Joe Perches wrote: On Fri, 2013-12-27 at 07:48 -0800, Eric Dumazet wrote: On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal

[PATCH net-next v2 08/20] net: mlx4: slight optimization of addr compare

2013-12-27 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Amir Vadai am...@mellanox.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c| 4 ++-- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +- 2 files

[PATCH net-next v2 01/20] net: 3com: slight optimization of addr compare

2013-12-27 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/3com/3c509.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/3com

[PATCH net-next v2 04/20] net: enic: slight optimization of addr compare

2013-12-27 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 v2 11/20] net: packetengines: slight optimization of addr

2013-12-27 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 | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH net-next v2 18/20] net: fddi: slight optimization of addr compare

2013-12-27 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 v2 15/20] net: seeq: slight optimization of addr compare

2013-12-27 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 v2 19/20] net: plip: slight optimization of addr compare

2013-12-27 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 v2 20/20] net: caif: slight optimization of addr compare

2013-12-27 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Dmitry Tarnyagin dmitry.tarnya...@lockless.no Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- net/caif/cfrfml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH net-next v2 17/20] net: ti: slight optimization of addr compare

2013-12-27 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 v2 13/20] net: qlcnic: slight optimization of addr compare

2013-12-27 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 v2 16/20] net: sun: optimization of addr compare

2013-12-27 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 v2 14/20] net: renesas: slight optimization of addr compare

2013-12-27 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 v2 12/20] net: netxen: slight optimization of addr compare

2013-12-27 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 v2 05/20] net: benet: slight optimization of addr compare

2013-12-27 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 v2 10/20] net: vxge: slight optimization of addr compare

2013-12-27 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jon Mason jdma...@kudzu.us Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet

[PATCH net-next v2 06/20] net: igbvf: slight optimization of addr compare

2013-12-27 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 v2 07/20] net: ixgbe: slight optimization of addr compare

2013-12-27 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 v2 09/20] net: ksz884x: slight optimization of addr compare

2013-12-27 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 v2 02/20] net: bnx2x: slight optimization of addr compare

2013-12-27 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Ariel Elior ari...@broadcom.com Cc: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c

[PATCH net-next v2 03/20] net: cxgb3: slight optimization of addr compare

2013-12-27 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 v2 00/20] slight optimization of addr compare for net modules

2013-12-27 Thread Ding Tianhong
of ether_addr_equal for patch 19. In fact, there are a lot of places which could use ether_addr_equal_64bits to instead of ether_addr_equal, but not this time, thanks for Joe's opinion. Best Regards Ding Ding Tianhong (20): net: 3com: slight optimization of addr compare net

Re: [PATCH net-next v2 20/20] net: caif: slight optimization of addr compare

2013-12-28 Thread Ding Tianhong
于 2013/12/28 14:59, Joe Perches 写道: On Sat, 2013-12-28 at 14:18 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. This may be a distinction without difference, but is a CAIF seghead also an ethernet address? NO,this is a coincidence, the CAIF

Re: [PATCH net-next v2 11/20] net: packetengines: slight optimization of addr

2013-12-28 Thread Ding Tianhong
于 2013/12/28 21:58, Sergei Shtylyov 写道: Hello. On 28-12-2013 10:17, Ding Tianhong wrote: 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

Re: [PATCH net-next v2 20/20] net: caif: slight optimization of addr compare

2013-12-29 Thread Ding Tianhong
On 2013/12/29 1:04, Joe Perches wrote: On Sat, 2013-12-28 at 23:02 +0800, Ding Tianhong wrote: 于 2013/12/28 14:59, Joe Perches 写道: On Sat, 2013-12-28 at 14:18 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. This may be a distinction without

Re: [PATCH net-next v2 11/20] net: packetengines: slight optimization of addr

2013-12-29 Thread Ding Tianhong
On 2013/12/29 1:23, Joe Perches wrote: On Sat, 2013-12-28 at 23:18 +0800, Ding Tianhong wrote: 于 2013/12/28 21:58, Sergei Shtylyov 写道: Hello. On 28-12-2013 10:17, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da

Re: [PATCH net-next v2 11/20] net: packetengines: slight optimization of addr

2013-12-29 Thread Ding Tianhong
On 2013/12/30 14:05, Joe Perches wrote: On Mon, 2013-12-30 at 10:39 +0800, Ding Tianhong wrote: I don't understand packetengine NIC anymore, But I think the change is clearly, as your said, the broadcast check is enough here, did you mean that? !is_broadcast_ether_addr((u8

[PATCH net-next v3 02/19] net: bnx2x: 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: Ariel Elior ari...@broadcom.com Cc: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c

[PATCH net-next v3 01/19] net: 3com: 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/3com/3c509.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/3com

[PATCH net-next v3 00/19] slight optimization of addr compare for net modules

2013-12-29 Thread Ding Tianhong
to use the ether_addr_equal to compare a non mac address, so remove the patch from the series. Best Regards Ding Ding Tianhong (19): net: 3com: slight optimization of addr compare net: bnx2x: slight optimization of addr compare net: cxgb3: slight optimization of addr compare net: enic

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

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Jon Mason jdma...@kudzu.us Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet

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

2013-12-29 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Amir Vadai am...@mellanox.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com Acked-By: Amir Vadai am...@mellanox.com --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c| 4 ++-- drivers/net/ethernet/mellanox/mlx4

  1   2   3   4   5   6   7   8   9   >