[dpdk-dev] [PATCH v6 4/4] power: send confirmation cmd to vm guest

2019-09-27 Thread Marcin Hajkowski
Use new guest channel API to send confirmation message for received power command. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- examples/vm_power_manager/channel_monitor.c | 68 +++-- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git

[dpdk-dev] [PATCH v6 3/4] power: process incoming confirmation cmds

2019-09-27 Thread Marcin Hajkowski
Extend vm_power_guest to check incoming confirmations of messages previously sent to host. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- examples/vm_power_manager/guest_cli/Makefile | 1 + .../guest_cli/vm_power_cli_guest.c| 73

[dpdk-dev] [PATCH v6 1/4] power: fix invalid socket indicator value

2019-09-27 Thread Marcin Hajkowski
Currently 0 is being used for not connected slot indication. This is not consistent with linux doc which identifies 0 as valid (connected) slot, thus modification was done to change it. Fixes: cd0d5547 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-

[dpdk-dev] [PATCH v6 0/4] bidirectional guest channel

2019-09-27 Thread Marcin Hajkowski
c v2: * send ack only if power operation return positive value * log diffent error for unexpected incoming command and error during ack/nak cmd sending Marcin Hajkowski (4): [PATCH v6 1/4] power: fix invalid socket indicator value [PATCH v6 2/4] power: extend guest channel API for reading [PATCH

[dpdk-dev] [PATCH v6 2/4] power: extend guest channel API for reading

2019-09-27 Thread Marcin Hajkowski
Added new experimental API rte_power_guest_channel_receive_msg which gives possibility to receive messages send to guest. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- lib/librte_power/channel_commands.h| 5 +++ lib/librte_power/guest_channel.c | 60