]> www.infradead.org Git - users/hch/misc.git/commit
net: devmem: add ring parameter filtering
authorTaehee Yoo <ap420073@gmail.com>
Tue, 14 Jan 2025 14:28:45 +0000 (14:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:42:11 +0000 (14:42 -0800)
commita08a5c9484015a88c937aa0f9eaf3efb2123c3b8
tree82c84bb2d84700cfe3a514cfbe3bf1dd90557e69
parenteec8359f0797ef87c6ef6cbed6de08b02073b833
net: devmem: add ring parameter filtering

If driver doesn't support ring parameter or tcp-data-split configuration
is not sufficient, the devmem should not be set up.
Before setup the devmem, tcp-data-split should be ON and hds-thresh
value should be 0.

Tested-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Link: https://patch.msgid.link/20250114142852.3364986-4-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devmem.c