From: Vratko Polak Date: Tue, 10 Sep 2019 11:35:11 +0000 (+0200) Subject: papi: introduce read_blocking X-Git-Tag: v20.05-rc0~670 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0938547eaaf5440de28877fa4f873c21bcb8cfbf;hp=0938547eaaf5440de28877fa4f873c21bcb8cfbf;p=vpp.git papi: introduce read_blocking Previously, self.transport.q got the messages (at least for socket transport), stored in the encoded (packed) form. In order to avoid accessing internals for async reads, a new method is introduced, to perform blocking reads of decoded (unpacked) messages. The method is also used in _call_vpp(), so sync and async reads are kept compatible. Type: feature Change-Id: Id49792dfa57c00b1a14a198031c5398d09a9ba20 Signed-off-by: Vratko Polak ---