On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
>
> + case SO_INCOMING_NAPI_ID:
> + v.val = sk->sk_napi_id;
> + break;
I guess that here you should filter invalid values.
(So that you no longer need the first patch in this series)
Also, it looks like eBPF
From: Sridhar Samudrala
This socket option returns the napi id associated with the queue on which
the last frame is received. This information can be used by the apps to
split the incoming flows among the threads based on the Rx queue on which
they are received.
Signed-off-by: Sridhar Samudrala