On 6/29/2018 6:06 AM, David Miller wrote: > From: Amritha Nambiar <amritha.namb...@intel.com> > 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->sk_rx_queue_mapping = skb_get_rx_queue(skb); >> +#endif >> +} > > Maybe add a >= NO_QUEUE_MAPPING check like you did for > skc_tx_queue_mapping. > Will fix.
- Re: [net-next PATCH v5 1/7] net: Refactor XPS for CP... David Miller
- Re: [net-next PATCH v5 1/7] net: Refactor XPS fo... Nambiar, Amritha
- [net-next PATCH v5 2/7] net: Use static_key for XPS maps Amritha Nambiar
- [net-next PATCH v5 5/7] net: Enable Tx queue selection ba... Amritha Nambiar
- [net-next PATCH v5 6/7] net-sysfs: Add interface for Rx q... Amritha Nambiar
- [net-next PATCH v5 3/7] net: sock: Change tx_queue_mappin... Amritha Nambiar
- Re: [net-next PATCH v5 3/7] net: sock: Change tx_que... David Miller
- Re: [net-next PATCH v5 3/7] net: sock: Change tx... Nambiar, Amritha
- [net-next PATCH v5 4/7] net: Record receive queue number ... Amritha Nambiar
- Re: [net-next PATCH v5 4/7] net: Record receive queu... David Miller
- Re: [net-next PATCH v5 4/7] net: Record receive ... Nambiar, Amritha
- [net-next PATCH v5 7/7] Documentation: Add explanation fo... Amritha Nambiar