On Mon, 11 Mar 2024 09:17:01 +0000 Balakrishnan K <balakrishnan...@tatacommunications.com> wrote:
> Hi All, > I want to use the dpdk application with RSS and flow director. > is possible to use both at a time in application. > In RSS, I am using > action_rss_tcp.types = ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | > ETH_RSS_L3_DST_ONLY; > to receive the similar traffic to same core. > One specific case where I wanted to distribute the traffic across core, here > the incoming traffic having same src and dst IP > Example( src ip : 10.10.10.1 dst ip :20.20.20.2) . > With RSS enabled all the traffic going to end up in one core ,where the > remaining cores are being idle impacting the performance. > Planning enable flow director and create rule to distribute the traffic for > the combination src /dst ip (10.10.10.1 /20.20.20.2) along with RSS. > > if RSS and flow rule having same criteria which one takes the priority . > > Regards, > Bala You can do that with rte_flow action of rte_flow_action_rss.