>>> On 12.04.17 at 08:05, wrote:
> On 17-04-11 09:39:55, Jan Beulich wrote:
>> >>> On 01.04.17 at 15:53, wrote:
>> > @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[],
>> > cos = 0;
>> >
>> > /* Value getting order is same as feature array. */
>> > -fe
On 17-04-11 09:39:55, Jan Beulich wrote:
> >>> On 01.04.17 at 15:53, wrote:
> > @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[],
> > cos = 0;
> >
> > /* Value getting order is same as feature array. */
> > -feat->props->get_val(feat, cos, &val[0]);
>
>>> On 01.04.17 at 15:53, wrote:
> @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[],
> cos = 0;
>
> /* Value getting order is same as feature array. */
> -feat->props->get_val(feat, cos, &val[0]);
> +feat->props->get_val(feat, cos, 0, &val[0]);
This patch implements L3 CDP get value callback function.
With this patch, 'psr-cat-show' can work for L3 CDP.
Signed-off-by: Yi Sun
---
v10:
- add 'enum cbm_type type' into 'get_val' parameters to handle CDP case.
(suggested by Jan Beulich)
v9:
- modify the type of 'l3_cdp_get_val