[dpdk-dev] [PATCH v5 10/10] doc/vm_power_manager: add JSON interface API info
Hunt, David
david.hunt at intel.com
Mon Oct 1 13:02:03 CEST 2018
Hi Lei,
On 29/9/2018 3:42 AM, Yao, Lei A wrote:
>> +:Pair Name: "avg_packet_thresh"
>> +:Description: Threshold below which the frequency will be set to min for
>> + the TRAFFIC policy. If the traffic rate is above this and below max, the
>> + frequency will be set to medium.
>> +:Type: integer
>> +:Values: The number of packets below which the TRAFFIC policy applies the
>> + minimum frequency, or medium frequency if between avg and max
>> thresholds.
>> +:Required: only for TRAFFIC policy
>> +:Example:
>> +
>> + .. code-block:: javascript
>> +
>> + "avg_packet_thresh": 100000
> Hi, Dave
>
> For this traffic policy , seems in previous release, we depends on the
> application in VM to send the VF mac address info back to the host
> vm_power_manager sample in host through virtio-serial port.
> If this JOSN interface is designed for container using VF, do we need add
> VF mac or ID related info into the TRAFFIC policy JSON file? Otherwise,
> the host don't know which port to monitor the throughput, I guess.
>
>
Well spotted. I'll add this and upload a new version.
Thanks,
Dave.
More information about the dev
mailing list