mbox series

[v3,0/4] bidirect guest channel

Message ID 20190321105506.6656-1-marcinx.hajkowski@intel.com (mailing list archive)
Headers
Series bidirect guest channel |

Message

Marcin Hajkowski March 21, 2019, 10:55 a.m. UTC
  From: Marcin Hajkowski <marcinx.hajkowski@intel.com>

Extend guest channel API to allow bidirectional
communication. Modify power manager host and guest
side to communicate in both directions.

v3:
* fix global_fds[lcore_id] comparison to invalid value
* check 0 to verify if read function actually read some data
* define _NACK cmd instead of _NAK
* simplify rte_power_guest_channel_receive_msg func logic

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):
  power: fix invalid socket indicator value
  power: extend guest channel api for reading
  power: process incoming confirmation cmds
  power: send confirmation cmd to vm guest

 examples/vm_power_manager/channel_monitor.c   | 67 ++++++++++++++--
 examples/vm_power_manager/guest_cli/Makefile  |  1 +
 .../guest_cli/vm_power_cli_guest.c            | 65 +++++++++++++---
 lib/librte_power/channel_commands.h           |  5 ++
 lib/librte_power/guest_channel.c              | 77 +++++++++++++++++--
 lib/librte_power/guest_channel.h              | 35 +++++++++
 lib/librte_power/rte_power_version.map        |  1 +
 7 files changed, 227 insertions(+), 24 deletions(-)
  

Comments

Thomas Monjalon March 29, 2019, 2:16 p.m. UTC | #1
21/03/2019 11:55, Hajkowski:
> From: Marcin Hajkowski <marcinx.hajkowski@intel.com>
> 
> Extend guest channel API to allow bidirectional
> communication. Modify power manager host and guest
> side to communicate in both directions.
> 
> v3:
> * fix global_fds[lcore_id] comparison to invalid value
> * check 0 to verify if read function actually read some data
> * define _NACK cmd instead of _NAK
> * simplify rte_power_guest_channel_receive_msg func logic
> 
> v2:
> * send ack only if power operation return positive value
> * log diffent error for unexpected incoming command and
>   error during ack/nak cmd sending

Please use --in-reply-to to keep all versions in the same thread, thanks.