On 05/07, Bobby Eshleman wrote: > From: Bobby Eshleman <[email protected]> > > Add nk_devmem.py with four tests for TCP devmem through a netkit device: > > These tests are just duplicates of the original devmem tests, with some > adjusted parameters such as telling ncdevmem to avoid device setup > (since it only has access to netkit, not a phys device). > > Each test uses NetDrvContEnv with primary_rx_redirect=True to set up the > BPF redirect program on the primary netkit interface. > > The NIC (HDS, RSS, queue lease) is configured once in main() before > ksft_run() and torn down in a finally block via cleanup_nic(), mirroring > the nk_qlease.py pattern. This avoids re-toggling NIC settings around > every test case. > > Signed-off-by: Bobby Eshleman <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>

