Merge branch 'mlxsw-selftests-Few-small-updates'
Ido Schimmel says: ==================== mlxsw: selftests: Few small updates First patch fixes a typo in mlxsw. Second patch fixes a race in a recent test. Third patch makes a recent test executable. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Коммит
66077060f8
|
@ -221,7 +221,7 @@ MLXSW_ITEM32(pci, eqe, event_type, 0x0C, 24, 8);
|
|||
MLXSW_ITEM32(pci, eqe, event_sub_type, 0x0C, 16, 8);
|
||||
|
||||
/* pci_eqe_cqn
|
||||
* Completion Queue that triggeret this EQE.
|
||||
* Completion Queue that triggered this EQE.
|
||||
*/
|
||||
MLXSW_ITEM32(pci, eqe, cqn, 0x0C, 8, 7);
|
||||
|
||||
|
|
|
@ -251,7 +251,7 @@ lldpad_app_wait_set()
|
|||
{
|
||||
local dev=$1; shift
|
||||
|
||||
while lldptool -t -i $dev -V APP -c app | grep -q pending; do
|
||||
while lldptool -t -i $dev -V APP -c app | grep -Eq "pending|unknown"; do
|
||||
echo "$dev: waiting for lldpad to push pending APP updates"
|
||||
sleep 5
|
||||
done
|
||||
|
|
Загрузка…
Ссылка в новой задаче