Re: [PATCH net-next 02/20] net: bnx2x: slight optimization of addr compare

2013-12-27 Thread Sergei Shtylyov
Hello. On 27-12-2013 10:48, Ding Tianhong wrote: Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Ariel Elior Signed-off-by: Ding Tianhong --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c| 10 -- drivers/net/ethernet/

[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 Signed-off-by: Ding Tianhong --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c| 10 -- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 2 +- drivers/net/etherne