Re: [PATCH net-next 5/9] net: hns3: refactor flow director configuration

2021-03-17 Thread Jakub Kicinski
On Wed, 17 Mar 2021 09:47:45 +0800 Huazhong Tan wrote: > On 2021/3/16 4:00, Jakub Kicinski wrote: > > On Mon, 15 Mar 2021 20:23:47 +0800 Huazhong Tan wrote: > >> From: Jian Shen > >> > >> Currently, there are 3 flow director work modes in HNS3 driver, > >> include EP(ethtool), tc flower and aRFS

Re: [PATCH net-next 5/9] net: hns3: refactor flow director configuration

2021-03-16 Thread Huazhong Tan
On 2021/3/16 4:00, Jakub Kicinski wrote: On Mon, 15 Mar 2021 20:23:47 +0800 Huazhong Tan wrote: From: Jian Shen Currently, there are 3 flow director work modes in HNS3 driver, include EP(ethtool), tc flower and aRFS. The flow director rules are configured synchronously and need holding spin

Re: [PATCH net-next 5/9] net: hns3: refactor flow director configuration

2021-03-15 Thread Jakub Kicinski
On Mon, 15 Mar 2021 20:23:47 +0800 Huazhong Tan wrote: > From: Jian Shen > > Currently, there are 3 flow director work modes in HNS3 driver, > include EP(ethtool), tc flower and aRFS. The flow director rules > are configured synchronously and need holding spin lock. With this > limitation, all th

[PATCH net-next 5/9] net: hns3: refactor flow director configuration

2021-03-15 Thread Huazhong Tan
From: Jian Shen Currently, there are 3 flow director work modes in HNS3 driver, include EP(ethtool), tc flower and aRFS. The flow director rules are configured synchronously and need holding spin lock. With this limitation, all the commands with firmware are also needed to use spin lock. To elim