On 10/30/2024 9:29 AM, Jie Hai wrote: > From: Dengdui Huang <huangdeng...@huawei.com> > > The hardware determines the priority of the flow rule based on the position > of the rule in the hardware flow director table. Lower index denotes higher > priority (it means when a packet matches multiple indexes, the smaller > index wins). This patch implements flow priority based on this feature. > > To avoid affecting the current use, use runtime config 'fdir_index_config' > to select flow director index strategy. The options are as follows: > 1. hash: Default config, the rule priority level cannot be set. > The driver generates a flow index based on the hash of the rte_flow key. > 2. priority: The flow rule priority feature is supported. > The driver uses the rte_flow priority field as the flow director index. > > Signed-off-by: Dengdui Huang <huangdeng...@huawei.com> > Signed-off-by: Jie Hai <haij...@huawei.com> >
Applied to dpdk-next-net/main, thanks.