]> git.ipfire.org Git - thirdparty/linux.git/commit
idpf: fix LAN memory regions command on some NVMs
authorLarysa Zaremba <larysa.zaremba@intel.com>
Tue, 7 Oct 2025 11:46:22 +0000 (13:46 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 17 Dec 2025 18:38:00 +0000 (10:38 -0800)
commit4af1f9a47291f7d446398065e0d6eb4943f7e184
tree1a0c39bac4ce2f4c9884bef2e1bab4f656e09091
parent6daa2893f323981c7894c68440823326e93a7d61
idpf: fix LAN memory regions command on some NVMs

IPU SDK versions 1.9 through 2.0.5 require send buffer to contain a single
empty memory region. Set number of regions to 1 and use appropriate send
buffer size to satisfy this requirement.

Fixes: 6aa53e861c1a ("idpf: implement get LAN MMIO memory regions")
Suggested-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_virtchnl.c