metal/mtce-common
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
..
centos StarlingX open source release updates 2018-05-31 07:36:43 -07:00
cgts-mtce-common-1.0 Mtce: Improve efficiency of mtcAgent's end-of-batch message handling 2018-06-26 15:02:07 -04:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:43 -07:00