diff options
| author | Jijie Shao <shaojijie@huawei.com> | 2025-08-15 18:04:13 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-19 18:11:15 -0700 |
| commit | e16e973c576f89be26837778a5566ab9c4231852 (patch) | |
| tree | fee9220fe1f8bed438e6b9d60958e252fd6c2e4b /rust/helpers/helpers.c | |
| parent | 3a752e67800106a5c42d802d67e06c60aa71d07b (diff) | |
net: hns3: add parameter check for tx_copybreak and tx_spare_buf_size
Since the driver always enables tx bounce buffer,
there are minimum values for `copybreak` and `tx_spare_buf_size`.
This patch will check and reject configurations
with values smaller than these minimums.
Closes: https://lore.kernel.org/all/20250723072900.GV2459@horms.kernel.org/
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Link: https://patch.msgid.link/20250815100414.949752-2-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
