]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_core: Check for DPDP violation only when DPDP is not supported
authorYuval Shaia <yuval.shaia@oracle.com>
Sat, 13 Dec 2014 18:18:40 +0000 (10:18 -0800)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:12:29 +0000 (18:12 -0800)
commit6f76819e6ff8e04c250d95050f462806e42dda96
treee175edb51e06cb2643ed2612af6d3c5ae34abe2c
parent50d9b60c29f6caa63b63101f2adb03b797051964
mlx4_core: Check for DPDP violation only when DPDP is not supported

Move check for DPDP out of the loop to make the code more readable.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/main.c