RDMA/nes: Slight optimization of Ethernet address compare
authorDing Tianhong <dingtianhong@huawei.com>
Wed, 8 Jan 2014 02:53:39 +0000 (10:53 +0800)
committerRoland Dreier <roland@purestorage.com>
Thu, 23 Jan 2014 07:22:26 +0000 (23:22 -0800)
commit79adc5321e4dfe4df8ad19a805ed81c3b35c16dd
treefe225102012f018b06608091d5677a4bb0c1c56d
parentd9d5713ca628dc211d8b4a1da5fb9e0cfe592b92
RDMA/nes: Slight optimization of Ethernet address compare

Use the possibly more efficient ether_addr_equal() instead of memcmp().

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/nes/nes_cm.c