From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 3/4] i40e: support of controlling hash functions Date: Tue, 20 Jan 2015 08:54:05 +0100 Message-ID: <3554949.i7emeOiECJ@xps13> References: <1417176852-12345-1-git-send-email-helin.zhang@intel.com> <1417486760-24459-1-git-send-email-helin.zhang@intel.com> <1417486760-24459-4-git-send-email-helin.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Helin Zhang Return-path: In-Reply-To: <1417486760-24459-4-git-send-email-helin.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Helin, 2014-12-02 10:19, Helin Zhang: > Hash filter control has been implemented for i40e. It includes > getting/setting, > - global hash configurations (hash function type, and symmetric > hash enable per flow type) > - symmetric hash enable per port > > Signed-off-by: Helin Zhang > --- > lib/librte_ether/rte_eth_ctrl.h | 63 ++++++++ > lib/librte_pmd_i40e/i40e_ethdev.c | 294 +++++++++++++++++++++++++++++++++++++- > 2 files changed, 355 insertions(+), 2 deletions(-) Please, could you split ethdev and i40e parts while keeping Konstantin's ack? [...] > + * Each bit in valid_bit_mask[] indicates if the coresponding bit in Typo: corresponding [...] > + /** Bit mask indicates if the coresponding bit is valid */ Same typo [...] > + /** Details of hash filter infomation */ Typo: information > + union { > + /* For RTE_ETH_HASH_FILTER_SYM_HASH_ENA_PER_PORT */ > + uint8_t enable; > + /* Global configurations of hash filter */ > + struct rte_eth_hash_global_conf global_conf; > + } info; Why these comments are not doxygen'ed? Sorry for nitpicking, that's the last review pass ;) -- Thomas