[dpdk-dev] Fwd: Disable receiving new flows on a core

Chintan Inbay chintaninbay at outlook.com
Mon Nov 5 01:08:48 CET 2018




Begin forwarded message:

From: chintaninbay at outlook.com<mailto:chintaninbay at outlook.com>
Date: November 1, 2018 at 6:19:49 PM PDT
To: users at dpdk.org<mailto:users at dpdk.org>
Subject: Disable receiving new flows on a core

Hi,

We use RSS for distributing flows across cores. Sometimes, in special cases we want to disable receiving new flows to a core. Only new flows. So say if RETA is programmed to receive on cores (0,1,2,3), then the new set would be (0,1,2).  Existing flows going to (3) should be retained and forwarded. Only new flows should not be sent to (3).

Eventually when core (3) is ready again, we need to re program RETA so that all four cores can take flows. So new set of cores would be (0,1,2,3)

Is this possible?

Also if the process on core 3 goes down or crashes, is there a way to notify RSS hardware or you’d have to reprogram RETA in a signal handler?

Thanks,
Chintan


More information about the dev mailing list