mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Intel QAT 1.7 compatibility
Based on the intel QAT samples which are bundled in the 1.x drivers, this is the preferred approach since api version 1.6. See: https://www.intel.de/content/www/de/de/download/19734/intel-quickassist-technology-driver-for-linux-hw-version-1-x.html? Reviewed-by: Weigang Li <weigang.li@intel.com> Signed-off-by: Volker Mauel <volkermauel@gmail.com> Closes #15190
This commit is contained in:
		
							parent
							
								
									32949f2560
								
							
						
					
					
						commit
						4da8c7d11e
					
				| @ -193,7 +193,9 @@ qat_dc_init(void) | ||||
| 		sd.huffType = CPA_DC_HT_FULL_DYNAMIC; | ||||
| 		sd.sessDirection = CPA_DC_DIR_COMBINED; | ||||
| 		sd.sessState = CPA_DC_STATELESS; | ||||
| #if (CPA_DC_API_VERSION_NUM_MAJOR == 1 && CPA_DC_API_VERSION_NUM_MINOR < 6) | ||||
| 		sd.deflateWindowSize = 7; | ||||
| #endif | ||||
| 		sd.checksum = CPA_DC_ADLER32; | ||||
| 		status = cpaDcGetSessionSize(dc_inst_handles[i], | ||||
| 		    &sd, &sess_size, &ctx_size); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Volker Mauel
						Volker Mauel