1. when memcpy slaves the internals->active_slave_count 1
2. return internals->active_slave_count is 2
3. the slaves[1] would be a random invalid value
Signed-off-by: Haifeng Lin
---
drivers/net/bonding/rte_eth_bond_api.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff
1. when memcpy slaves the internals->active_slave_count 1
2. return internals->active_slave_count is 2
3. the slaves[1] would be a random invalid value
---
drivers/net/bonding/rte_eth_bond_api.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/bonding/rte_eth
When reg_size < page_size the function read in
rte_mem_virt2phy would not return, becausue
host_user_addr is invalid.
Signed-off-by: Haifeng Lin
---
v2:
fix TYPO_SPELLING warning
---
lib/librte_vhost/vhost_user.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/
When reg_size < page_size the function read in
rte_mem_virt2phy would not return, becasue gpa
is invalid.
Signed-off-by: Haifeng Lin
---
lib/librte_vhost/vhost_user.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vh
:
slave_qid = (bond_qid + slave_id) % queue_num
Signed-off-by: Haifeng Lin
---
drivers/net/bonding/rte_eth_bond_pmd.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index 09ce7bf..8ad843a
5 matches
Mail list logo