Intel QAT加速卡demo框架

QAT demo流程框架

示例一:

代码路径:qat1.5.l.1.13.0-19\quickassist\lookaside\access_layer\src\sample_code\functional\sym\cipher_sample

	|-->cpa_cipher_sample_user.c
	|		main
	|		    |-->  qaeMemInit
	|			|
	|		    |-->  icp_sal_userStartMultiProcess
	|			|
	|		    |-->  cipherSample
	|			|
	|		    |-->  icp_sal_userStop
	|			|
	|		    |-->  qaeMemDestroy
	|	
	|	
	|	
	|->cpa_cipher_sample.c	
			symCallback
			cipherPerformOp
			cipherSample(void)
				|-->  sampleCyGetInstance
				|
				|-->  cpaCyStartInstance
				|
				|-->  cpaCySetAddressTranslation
				|
				|-->  sampleCyStartPolling
				|
				|-->  cpaCySymSessionCtxGetSize
				|
				|-->  PHYS_CONTIG_ALLOC
				|
				|-->  cpaCySymInitSession
				|
				|-->  cipherPerformOp
				|
				|-->  cpaCySymQueryStats64
				|
				|-->  PHYS_CONTIG_FREE
				|
				|-->  sampleCyStopPolling
				|
				|-->  cpaCyStopInstance
			

示例二:

代码路径:qat1.5.l.1.13.0-19\quickassist\lookaside\access_layer\src\sample_code\functional\asym\diffie_hellman_sample

	|-->cpa_cipher_sample_user.c
	|		main
	|		    |-->  qaeMemInit
	|			|
	|		    |-->  icp_sal_userStartMultiProcess
	|			|
	|		    |-->  cipherSample
	|			|
	|		    |-->  icp_sal_userStop
	|			|
	|		    |-->  qaeMemDestroy
	|	
	|	
	|	
	|->cpa_cipher_sample.c	
			symCallback
			cipherPerformOp
			cipherSample(void)
				|-->  sampleCyGetInstance
				|
				|-->  cpaCyStartInstance
				|
				|-->  cpaCySetAddressTranslation
				|
				|-->  sampleCyStartPolling
				|
				|-->  cpaCySymSessionCtxGetSize
				|
				|-->  PHYS_CONTIG_ALLOC
				|
				|-->  cpaCySymInitSession
				|
				|-->  cipherPerformOp
				|
				|-->  cpaCySymQueryStats64
				|
				|-->  PHYS_CONTIG_FREE
				|
				|-->  sampleCyStopPolling
				|
				|-->  cpaCyStopInstance
			

目前资料基本全是Intel网关提供的,中文版的几乎没有,准备私下整理下文档,如果有需要,可评论留言。

猜你喜欢

转载自blog.csdn.net/s2603898260/article/details/107879324