RE: [PATCH net-next v15 05/13] rtase: Implement hardware configuration function

From: Justin Lai
Date: Fri Jan 05 2024 - 04:06:07 EST




> -----Original Message-----
> From: Justin Lai <justinlai0215@xxxxxxxxxxx>
> Sent: Friday, January 5, 2024 4:55 PM
> To: kuba@xxxxxxxxxx
> Cc: davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; pabeni@xxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; andrew@xxxxxxx;
> Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Larry Chiu <larry.chiu@xxxxxxxxxxx>;
> Justin Lai <justinlai0215@xxxxxxxxxxx>
> Subject: [PATCH net-next v15 05/13] rtase: Implement hardware configuration
> function
>
> Implement rtase_hw_config to set default hardware settings, including setting
> interrupt mitigation, tx/rx DMA burst, interframe gap time, rx packet filter,
> near fifo threshold and fill descriptor ring and tally counter address, and
> enable flow control. When filling the rx descriptor ring, the first group of
> queues needs to be processed separately because the positions of the first
> group of queues are not regular with other subsequent groups. The other
> queues are all newly added features, but we want to retain the original design.
> So they were not put together.
>
> Signed-off-by: Justin Lai <justinlai0215@xxxxxxxxxxx>
> ---
> .../net/ethernet/realtek/rtase/rtase_main.c | 228 ++++++++++++++++++
> 1 file changed, 228 insertions(+)
>

Sorry, this series of patches has not been sent completely, I will re-send it again.