Re: [PATCH V2 net-next 01/11] net: hns3: add support for configuring interrupt quantity limiting

2020-11-10 Thread tanhuazhong
On 2020/11/11 9:13, Jakub Kicinski wrote: On Mon, 9 Nov 2020 11:22:29 +0800 Huazhong Tan wrote: + if (rx_vector->tx_group.coal.ql_enable) Is this supposed to be rx_group, not tx? yes, will fix it. thanks. + hns3_set_vector_coalesce_r

Re: [PATCH V2 net-next 01/11] net: hns3: add support for configuring interrupt quantity limiting

2020-11-10 Thread Jakub Kicinski
On Mon, 9 Nov 2020 11:22:29 +0800 Huazhong Tan wrote: > + if (rx_vector->tx_group.coal.ql_enable) Is this supposed to be rx_group, not tx? > + hns3_set_vector_coalesce_rx_ql(rx_vector, > +rx_vector->rx_gro

[PATCH V2 net-next 01/11] net: hns3: add support for configuring interrupt quantity limiting

2020-11-08 Thread Huazhong Tan
QL(quantity limiting) means that hardware supports the interrupt coalesce based on the frame quantity. QL can be configured when int_ql_max in device's specification is non-zero, so add support to configure it. Also, rename two coalesce init function to fit their purpose. Signed-off-by: Huazhong