On 6/5/23 02:24, Ivan Malov wrote:
From: Denis Pryazhennikov <denis.pryazhenni...@arknetworks.am>
Table's descriptor and fields' descriptors can be taken
by table ID using a new API.
In the near future, only the CT table is planned
to be used, so only fields that are required for these
purposes were added to the efx.
Signed-off-by: Denis Pryazhennikov <denis.pryazhenni...@arknetworks.am>
Reviewed-by: Viacheslav Galaktionov <viacheslav.galaktio...@arknetworks.am>
Reviewed-by: Andy Moreton <amore...@xilinx.com>
[snip]
+LIBEFX_API
+extern __checkReturn efx_rc_t
+efx_table_describe(
+ __in efx_nic_t *enp,
+ __in efx_table_id_t table_id,
+ __in uint32_t field_offset,
+ __out_opt efx_table_descriptor_t
*table_descp,
+ __out_ecount_opt(*n_fields_descsp) efx_table_field_descriptor_t
*fields_descs,
There is no such parameter n_fields_descsp
+ __in unsigned int n_field_descs,
+ __out_opt unsigned int
*n_field_descs_writtenp);
+
#ifdef __cplusplus
}
#endif