On 6/29/2018 6:06 AM, David Miller wrote:
> From: Amritha Nambiar
> Date: Wed, 27 Jun 2018 15:31:34 -0700
>
>> @@ -1702,6 +1709,13 @@ static inline int sk_tx_queue_get(const struct sock
>> *sk)
>> return -1;
>> }
>>
>> +static inline void sk_rx_queue_set(struct sock *sk, const struct sk_
From: Amritha Nambiar
Date: Wed, 27 Jun 2018 15:31:34 -0700
> @@ -1702,6 +1709,13 @@ static inline int sk_tx_queue_get(const struct sock
> *sk)
> return -1;
> }
>
> +static inline void sk_rx_queue_set(struct sock *sk, const struct sk_buff
> *skb)
> +{
> +#ifdef CONFIG_XPS
> + sk->s
This patch adds a new field to sock_common 'skc_rx_queue_mapping'
which holds the receive queue number for the connection. The Rx queue
is marked in tcp_finish_connect() to allow a client app to do
SO_INCOMING_NAPI_ID after a connect() call to get the right queue
association for a socket. Rx queue