metal/mtce-common/cgts-mtce-common-1.0
Eric MacDonald 85a30b56e6 Mtce: Improve efficiency of mtcAgent's end-of-batch message handling
The mtcAgent's message inbox batch handling was needlessly zeroing a
buffer that it would never use after it reached the last received
message.

This update refactors the mtc_service_inbox entry code so that the
message buffer zeroing operation only occurs on the unused part of
fully received messages. To facilitate this change, a new utility for
zeroing a bounded part of a mtce message buf was introduced to common
utils.

Two additional enhancements were also made to the same procedure:
 - variable scoping change.
 - hostaddr and hostname lookup scoping change.

Change-Id: Ia2ef97dad611507b824927ed1652c8df8b54eee5
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2018-06-26 15:02:07 -04:00
..
alarm StarlingX open source release updates 2018-05-31 07:36:43 -07:00
common Mtce: Improve efficiency of mtcAgent's end-of-batch message handling 2018-06-26 15:02:07 -04:00
daemon StarlingX open source release updates 2018-05-31 07:36:43 -07:00
fsmon StarlingX open source release updates 2018-05-31 07:36:43 -07:00
guest Rewrite virtio message handler for guest heartbeat 2018-06-22 21:00:05 -04:00
heartbeat StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hostw StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmon StarlingX open source release updates 2018-05-31 07:36:43 -07:00
maintenance Mtce: Improve efficiency of mtcAgent's end-of-batch message handling 2018-06-26 15:02:07 -04:00
mtclog StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pmon StarlingX open source release updates 2018-05-31 07:36:43 -07:00
public StarlingX open source release updates 2018-05-31 07:36:43 -07:00
rmon StarlingX open source release updates 2018-05-31 07:36:43 -07:00
scripts StarlingX open source release updates 2018-05-31 07:36:43 -07:00
.gitignore StarlingX open source release updates 2018-05-31 07:36:43 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
Makefile StarlingX open source release updates 2018-05-31 07:36:43 -07:00