]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtase: Implement hardware configuration function
authorJustin Lai <justinlai0215@realtek.com>
Wed, 4 Sep 2024 03:21:06 +0000 (11:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Sep 2024 05:02:38 +0000 (22:02 -0700)
commit85dd839ad1e52b2d32499b8ee3861fd958bfa96b
tree4b0d3ccb9977843186a7657722b98f56b3ee4fd4
parent2bbba79e348d872510cadb9783a11896634062ec
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@realtek.com>
Link: https://patch.msgid.link/20240904032114.247117-6-justinlai0215@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/rtase/rtase_main.c