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

2013-12-24 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal to instead of memcmp. Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Faisal Latif Cc: linux-r...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Wang Weidong Signed-off-by: Ding Tianhong ---

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

2013-12-24 Thread Ding Tianhong
Use the possibly more efficient ether_addr_equal to instead of memcmp. Cc: Roland Dreier rol...@kernel.org Cc: Sean Hefty sean.he...@intel.com Cc: Hal Rosenstock hal.rosenst...@gmail.com Cc: Faisal Latif faisal.la...@intel.com Cc: linux-r...@vger.kernel.org Cc: linux-kernel@vger.kernel.org