Hi David & Eric, At 2017-05-26 01:11:41, "David Miller" <da...@davemloft.net> wrote: >From: gfree.w...@vip.163.com >Date: Wed, 24 May 2017 15:35:59 +0800 > >> >> +static inline void sock_rps_record_flow_hash(__u32 hash) >> +{ >> +#ifdef CONFIG_RPS >> + if (static_key_false(&rfs_needed)) >> + _sock_rps_record_flow_hash(hash); >> +#endif >> +} >> + > >This is no longer used. > >If you have some plans to use it in another context, you absolutely _MUST_ >post this change inside of a patch series that adds the new user as well. > >Otherwise it is impossible to determine the correctness and >appropriateness of your changes. > >Thanks.
The sock_rps_record_flow_hash is still used now. There is only one caller which is tun_flow_update in file tun.c. Best Regards Feng