From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D40E442C4D; Wed, 7 Jun 2023 13:47:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64EDC40A84; Wed, 7 Jun 2023 13:47:42 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id B9A4B40698 for ; Wed, 7 Jun 2023 13:47:40 +0200 (CEST) Received: from [192.168.1.126] (unknown [188.242.181.57]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id C074159; Wed, 7 Jun 2023 14:47:39 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru C074159 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1686138459; bh=3UvPgE3oU1jStKa6+cJdf8z2fqLsewn8P1H2tOpTQyM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ooUfSvCb6kVLXZrINEONWXQV9Y2btfNiXYi/V7VtBoEiBPB+3ugfNArRu/Zppnhkp chm727lscsSuukOIfAjB0g+8BrGQvcxc7uhlAoMJ5qMxAeRB3cdLx5xwP7wWeYXtlA A0kXNfjDHswSKV8jtAB9Gfj84FS+DDXktHsjJpuk= Message-ID: Date: Wed, 7 Jun 2023 14:47:33 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 05/34] common/sfc_efx/base: add API to get HW table desc To: Ivan Malov , dev@dpdk.org Cc: Ferruh Yigit , Denis Pryazhennikov , Viacheslav Galaktionov , Andy Moreton References: <20230601195538.8265-1-ivan.malov@arknetworks.am> <20230604232523.6746-1-ivan.malov@arknetworks.am> <20230604232523.6746-6-ivan.malov@arknetworks.am> Content-Language: en-US From: Andrew Rybchenko In-Reply-To: <20230604232523.6746-6-ivan.malov@arknetworks.am> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 6/5/23 02:24, Ivan Malov wrote: > From: Denis Pryazhennikov > > 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 > Reviewed-by: Viacheslav Galaktionov > Reviewed-by: Andy Moreton [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