From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8AEB9A00E6 for ; Mon, 13 May 2019 20:47:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E6D023253; Mon, 13 May 2019 20:47:27 +0200 (CEST) Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) by dpdk.org (Postfix) with ESMTP id EEBD92BCE for ; Mon, 13 May 2019 20:47:26 +0200 (CEST) Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4DIY0wa018812 for ; Mon, 13 May 2019 18:47:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : from : subject : message-id : date : mime-version : content-type; s=corp-2018-07-02; bh=wUijfaadmG3I6YaCcJpU1YMBlfzmTLhkdWkDqjxLY/8=; b=2ZtJ3aA0UG70niRn6tMclwk2SKmXFcES+4pDO/F32VZT1d0vkKMQ28CHsuDS8Ug4rsSn jEn3w4dH9XwHYUIlLgHne7LDS/Z254MJ14JCZEtcgyYGTaYvkZMDaT1hyxshI60D58TI 4Nugwkff4J5K1widq8e46TJ0yR7NRU3D4gTgkH7BSlgztD5ROY/WMruQGtxiOGegkUsL StJOyRVkYUNhEs2dyvbxcxLIK25zyTyVNh86i27dxNAwkc3+84F1vg+zegIe9gc9qGMD YCG6OQGu6hYI1sb3W8IQblqBjAHG4j0ifli9CADvXdN5aPcf/zCstWPcwszy9RsCj+7j 0w== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2sdq1q8wgw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 13 May 2019 18:47:25 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4DIjZVt095248 for ; Mon, 13 May 2019 18:47:24 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2sdnqj4rde-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 13 May 2019 18:47:24 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x4DIlN0t023466 for ; Mon, 13 May 2019 18:47:23 GMT Received: from [10.138.241.174] (/10.138.241.174) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 May 2019 11:47:23 -0700 To: users@dpdk.org From: Meng Wang Organization: Oracle Corporation Message-ID: <100a5208-2fde-ab32-c8e1-22964acce5fe@oracle.com> Date: Mon, 13 May 2019 14:47:22 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9256 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=758 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905130126 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9256 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=797 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905130126 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] [Crypto-QAT] queue pairs per QAT device X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I'm trying to understand how queue pairs get setup on QAT. I have created one VF for each lcore. From qat code it seems support up to 2 qps per device/VF, one for each direction. Then I found that each queue pair has its own qat_queue rx/tx. /* Maximum number of qps on a device for any service type */ #define ADF_MAX_QPS_ON_ANY_SERVICE    2 #define ADF_RING_DIR_TX            0 #define ADF_RING_DIR_RX            1 How does the direction of qp correlate to direction of qat_queue? Is one queue pair sufficient to transmit packet between QAT and application per core? Thanks, Meng