Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/test-pipeline: relax RSS hash requirement
For some drivers which can not support the configured RSS hash functions, the thread reports 'invalid rss_hf' when doing device configure. For example, i40e driver can not support 'RTE_ETH_RSS_IPV4', 'RTE_ETH_RSS_IPV6' and 'RTE_ETH_RSS_NONFRAG_IPV6_OTHER', thus it can not run successfully in test-pipeline with XL710 NIC and reports the issue: ------------------------------------------------------------- Ethdev port_id=0 invalid rss_hf: 0xa38c, valid value: 0x7ef8 PANIC in app_init_ports(): Cannot init NIC port 0 (-22) ------------------------------------------------------------- To fix this, referring to l3fwd operation, adjust the 'rss_hf' based on device capability and just report a warning. Signed-off-by: Feifei Wang <feifei.wang2@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Trevor Tao <trevor.tao@arm.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
- Loading branch information