18/04/2018 13:55, Xueming(Steven) Li:
> From: Thomas Monjalon
> > 17/04/2018 16:24, Xueming Li:
> > > + /* Check that device supports requested rss hash functions. */
> > > + if ((dev_info.flow_type_rss_offloads |
> > > + dev_conf->rx_adv_conf.rss_conf.rss_hf) !=
> > > + dev_info.flow_typ
Hi Thomas,
> -Original Message-
> From: Thomas Monjalon
> Sent: Wednesday, April 18, 2018 6:01 AM
> To: Xueming(Steven) Li
> Cc: dev@dpdk.org; Shahaf Shuler ; Nelio Laranjeiro
> ;
> Wenzhuo Lu ; Jingjing Wu
> Subject: Re: [dpdk-dev] [PATCH v2 1/2] ethdev: add
17/04/2018 16:24, Xueming Li:
> + /* Check that device supports requested rss hash functions. */
> + if ((dev_info.flow_type_rss_offloads |
> + dev_conf->rx_adv_conf.rss_conf.rss_hf) !=
> + dev_info.flow_type_rss_offloads) {
> + RTE_PMD_DEBUG_TRACE("ethdev port_
Add supported RSS hash function check in device configuration to
have better error verbosity for application developers.
Signed-off-by: Xueming Li
---
lib/librte_ether/rte_ethdev.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/libr
4 matches
Mail list logo