git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ethdev: remove underscore prefix from internal API
[dpdk.git]
/
app
/
test
/
test_link_bonding.c
diff --git
a/app/test/test_link_bonding.c
b/app/test/test_link_bonding.c
index
b5ce9db
..
3a46f94
100644
(file)
--- a/
app/test/test_link_bonding.c
+++ b/
app/test/test_link_bonding.c
@@
-1168,7
+1168,7
@@
test_adding_slave_after_bonded_device_started(void)
}
#define TEST_STATUS_INTERRUPT_SLAVE_COUNT 4
}
#define TEST_STATUS_INTERRUPT_SLAVE_COUNT 4
-#define TEST_LSC_WAIT_TIMEOUT_
MS 5
00
+#define TEST_LSC_WAIT_TIMEOUT_
US 5000
00
int test_lsc_interrupt_count;
int test_lsc_interrupt_count;
@@
-1261,7
+1261,7
@@
test_status_interrupt(void)
virtual_ethdev_simulate_link_status_interrupt(
test_params->slave_port_ids[3], 0);
virtual_ethdev_simulate_link_status_interrupt(
test_params->slave_port_ids[3], 0);
- TEST_ASSERT(lsc_timeout(TEST_LSC_WAIT_TIMEOUT_
M
S) == 0,
+ TEST_ASSERT(lsc_timeout(TEST_LSC_WAIT_TIMEOUT_
U
S) == 0,
"timed out waiting for interrupt");
TEST_ASSERT(test_lsc_interrupt_count > 0,
"timed out waiting for interrupt");
TEST_ASSERT(test_lsc_interrupt_count > 0,
@@
-1280,7
+1280,7
@@
test_status_interrupt(void)
virtual_ethdev_simulate_link_status_interrupt(
test_params->slave_port_ids[0], 1);
virtual_ethdev_simulate_link_status_interrupt(
test_params->slave_port_ids[0], 1);
- TEST_ASSERT(lsc_timeout(TEST_LSC_WAIT_TIMEOUT_
M
S) == 0,
+ TEST_ASSERT(lsc_timeout(TEST_LSC_WAIT_TIMEOUT_
U
S) == 0,
"timed out waiting for interrupt");
/* test that we have received another lsc interrupt */
"timed out waiting for interrupt");
/* test that we have received another lsc interrupt */
@@
-1294,7
+1294,7
@@
test_status_interrupt(void)
virtual_ethdev_simulate_link_status_interrupt(
test_params->slave_port_ids[0], 1);
virtual_ethdev_simulate_link_status_interrupt(
test_params->slave_port_ids[0], 1);
- TEST_ASSERT(lsc_timeout(TEST_LSC_WAIT_TIMEOUT_
M
S) != 0,
+ TEST_ASSERT(lsc_timeout(TEST_LSC_WAIT_TIMEOUT_
U
S) != 0,
"received unexpected interrupt");
TEST_ASSERT_EQUAL(test_lsc_interrupt_count, 0,
"received unexpected interrupt");
TEST_ASSERT_EQUAL(test_lsc_interrupt_count, 0,