power: fix socket indicator value
authorMarcin Hajkowski <marcinx.hajkowski@intel.com>
Fri, 27 Sep 2019 08:42:13 +0000 (09:42 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Oct 2019 18:26:35 +0000 (19:26 +0100)
commitb4b2f84a5970709e7fb060e3bcd4afb7c19b0121
treed041cb358e12dd63e09b804b8c85ec0a622d5f46
parent0412cfeff907bb9102a2ca834e95ef8c6767f538
power: fix socket indicator value

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: stable@dpdk.org
Signed-off-by: Marcin Hajkowski <marcinx.hajkowski@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_power/guest_channel.c