Re: [net-next PATCH v5 4/7] net: Record receive queue number for a connection

2018-06-30 Thread Nambiar, Amritha
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

Re: [net-next PATCH v5 4/7] net: Record receive queue number for a connection

2018-06-29 Thread David Miller
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 > +

[net-next PATCH v5 4/7] net: Record receive queue number for a connection

2018-06-27 Thread Amritha Nambiar
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