From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB183A04F5; Fri, 6 Dec 2019 01:27:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 36B721BF7F; Fri, 6 Dec 2019 01:27:00 +0100 (CET) Received: from mx0b-00169c01.pphosted.com (mx0b-00169c01.pphosted.com [67.231.156.123]) by dpdk.org (Postfix) with ESMTP id 4B59D2B87 for ; Fri, 6 Dec 2019 01:26:59 +0100 (CET) Received: from pps.filterd (m0048188.ppops.net [127.0.0.1]) by mx0b-00169c01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB60OPMb002357 for ; Thu, 5 Dec 2019 16:26:58 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paloaltonetworks.com; h=mime-version : from : date : message-id : subject : to : content-type; s=PPS12012017; bh=uHPalgshXTBxLSfvpWE9RQUAvXJ7I3CZ59wm4ZKnykc=; b=P2sak7SFLKxSpHwVG9Nx3qiQbzq6DHU5sev9bXrk3FvHD3iGs5+5LCpLtAplyB+fQqTp sCyqunSraGaWx6bHj7kS9ad83wpjzIQHo0XdNFSCVhhGRHg8v3kBPGr877om/sjKaq7R 5nL9EkVqbT+jfnTyZ0DomgYbtWe2AnMXDiQ2aBu+vNd46lrys1qA0yfyv3yEdKKThxxg ptK4EZ/SKogbzsGOvuWumJjJpZtGw9pFOCSqqKOwYeTf49Mzhif2Zdq0in9A/4elbII0 hQ8UCPysNBFmHqX4Gi1GdpCu6YaV6COejwQSyIOciQNDvQGQCD1Jo0xIzOEKZrvT5gYA xg== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0b-00169c01.pphosted.com with ESMTP id 2wnjtnc15g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 05 Dec 2019 16:26:57 -0800 Received: by mail-qt1-f197.google.com with SMTP id m8so3813334qta.20 for ; Thu, 05 Dec 2019 16:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paloaltonetworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=uHPalgshXTBxLSfvpWE9RQUAvXJ7I3CZ59wm4ZKnykc=; b=H2bGirvg+yFg8ODEdwtNO3Vg/HHB7KcBwH39mJDMbZUCCTRQUroadfbKyeRjjWER8/ M7ffaWEZFd2+iNTYXENSC4yUoCxoe4O16vbXoe08LWEPpGGMmmQC+7nkp1XWauHs7Bqv sMcTgDrt+3WLr2qV7qJxJBIRdgCVOrjmli4n4NXpLCPRSJ/cTXShDCjndKx7c+VVzqU0 oPTAjpRyFKAnwBPzN/sPsmMfIVZD/Ai4JmG8chXzja0F/tJgcW9AJGW/ygVZbAATxYCc yjmWiVF1lThh/tUNVcSxFhDXSHVOdFS1tJvl3X0d1YoTgAQgXndVhNzeVJpEpct+t2qR SfpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uHPalgshXTBxLSfvpWE9RQUAvXJ7I3CZ59wm4ZKnykc=; b=k/vcxKdQg6v+v/wACov9qzNt8lhoHSYh2GdW3d5gyqE+IWFRT4H209ejeRBdQF4jp1 KoMtQmx7w3LfRJQ7NOf8I7mE6CNV32PPgrfLKm7lrb2LLlMHtCF5NgTgS16XmVzH3fMz hXbiHHZA/hjUpCiXyFLRI4JKK2wG5fWwYPq3lq32/Ju8qTvHuuSg/ug6omf8v7DfveiL DQ0RQYRVaPmm+u91zIFRPAm7Q7JyZFy+r5BkiRakHLMvd1WL32/xVspgFlVC+nJpMDJC 2pgl5Sr6+0tJW+FawBxF1vBMYD4dlIWPJNZyj+mPPErR7syoY6LFPUWjlO2eMjgDzVLa KT3w== X-Gm-Message-State: APjAAAWQ/bjzUFt5XHEfVhRPrS8i/BIiCNy4zx+pS9L3cfptDwsB+pIr /CZYs3pQealYEkeQqGaB0l1WI0fnnYTGdZvDeOr4tMpUFhzKPe2LlUzrbEDoB+jzRKglgA6ali9 e3/FbAfvl8P9HG6L9nwQ= X-Received: by 2002:a37:8b44:: with SMTP id n65mr11277137qkd.446.1575592016870; Thu, 05 Dec 2019 16:26:56 -0800 (PST) X-Google-Smtp-Source: APXvYqyQ10QW2mzLFMvxNgnL9FuOYjwb/AI/dT9DlfILF/sBCwmCQO+ySt11XBXWEoTqf7EU/MviI/UOqvEjVSt/R7g= X-Received: by 2002:a37:8b44:: with SMTP id n65mr11277115qkd.446.1575592016567; Thu, 05 Dec 2019 16:26:56 -0800 (PST) MIME-Version: 1.0 From: Venky Venkatesh Date: Thu, 5 Dec 2019 16:26:46 -0800 Message-ID: To: dev@dpdk.org X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-05_10:2019-12-04,2019-12-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=712 clxscore=1011 impostorscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912060001 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] eventdev DSW question X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" I see that the provision in 18.11 eventdev DSW for maximum number of queues is #define DSW_MAX_QUEUES (16) 1. If the number of queues needed is to be increased to 7 bits (i.e. 128) is there any issue (correctness, scale, performance) other than increased data structure size? 2. I see that it is only used in the following structs: - struct dsw_evdev: struct dsw_queue queues[DSW_MAX_QUEUES]; sizeof(struct dsw_queue) ~ DSW_MAX_FLOWS. So the total increase contribution here is (128-16)*DSW_MAX_FLOWS from about 0.5MB to 4MB - struct dsw_port: uint64_t queue_enqueued[DSW_MAX_QUEUES], queue_dequeued[DSW_MAX_QUEUES]; This increase is negligible (a few KB at most across all dsw_ports) 3. So is it enough if I changed the above define? (In other words I hope there are no other hidden/implicit dependencies on the current value 16 elsewhere in the code). Also I suppose the only way is to directly change this in the code, rite? Thanks -Venky