From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9716CA0A05 for ; Wed, 20 Jan 2021 11:04:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 492B3140E41; Wed, 20 Jan 2021 11:04:21 +0100 (CET) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.80]) by mails.dpdk.org (Postfix) with ESMTP id A7213140E40 for ; Wed, 20 Jan 2021 11:04:19 +0100 (CET) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se16.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1l2ALU-0000Fv-Bg for users@dpdk.org; Wed, 20 Jan 2021 04:04:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nvcxmo24bspIJd/UdOUkhCp4CIgaXA8CAYEImfus1zY=; b=Lzf9GXO1Btkso2ZMH0YACpXoEW ++pwOdaXEBeQqGnjCK5d6wiOs/8g7nUgwj2ASg4oW1JoPSI8aIzS1yhph2pHgZvtUXUjiam4wZFLA FX2GbDzFkNSomyqrRc1FeYfNLvUT44NXojFHi3sldD/f7/seSfNLs/XAsBgYReyuxC8DeC4enH0jt kUxWdQOOzxCHDRD1g94jLBdPUX/KkrTZzGKpVpg52/gAFB97ag9jr7A7brhyM5k16KgoeXFr+Po8R m4lfjlP+1KV7YisPgXj/1E4uJ7JmI0/9DsNAgEoSjilc6KaRokk1bTZAMKKR6EFyKuZ7sMZLiAdSZ M8pYqoTA==; Received: from [89.64.148.179] (port=40202 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.90devstart-1178-b07e68e5-XX) (envelope-from ) id 1l2ALS-000KUX-WD for users@dpdk.org; Wed, 20 Jan 2021 11:04:11 +0100 To: "users@dpdk.org" From: Filip Janiszewski Message-ID: <27e95295-bb0e-943f-0ab9-c93c4bea4cdd@filipjaniszewski.com> Date: Wed, 20 Jan 2021 11:04:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 35.214.204.72 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 35.214.204.72 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.214.204.72@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9IImJOkMkGmPBRXGglxOmRPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wDtBK3p5VcS6iRNP7EipR8fYzfQXcfqmra3dmoHS4ygiJb 69W2eM+uHjLw161XDTRWuRWrkPihq53YqAd1ENNqqvvkCNylR0+/G/QNL4gxGybuFz166ckC5o5v OAA21U8MzkZGqm2JS4vMtlBSgThqkYu/Fv4Iv8jJ1/Sw26a/5519uilF/m9S+vpNQwvmdT2AgCyx P9G+Y5LcO+gel2RLm1pC2yjwI4JpUd34sOKtOmIuqCYQuBsPx18Ti488FdMrnvUyzoTfAGEbL5I3 54EAxOqOzG2ZZ/lf9LY0ubxKFznlKnN5EY5Xdpjv88dVSAucmuBJwe36CN1gwFhCKkEevvsTbUnB m4eP/gSAGzl2380ayHS6fwMJkHHsvoTylavXZ390tTXDb91Nnaf1Gz774hJ877w3BrOappvVwxNq XdFlZUnAf1s2ouodScIZwlCTa9woBUmVrXIKzzDnYPqGrxykUiin0vKnMTsZ7GUjOmrLhMVo7s5r C/i1xA6nwvG8Ksk+aedMfNWSnJswrtlNQ8clfdequDnRZkTy+cnx+wzevvA7ArqeQFEd2navgAmn OvL8Z8nObfEzCxRgiDMmm7RVhDC6rGajPOQMsilQygZImPb9UZXs+o5qEZeRpTi3BT/xcase7lCw 0EQdzS0QYCOkbeN8sVRFAdYHoGGbW6Av5Q2Fuf7As2eTBHKMsQbQrJhibHW4WBgPZ9r9v7dbeIWM W6zI24glfY3GAle+Ahko0mdIpi/4yj5VGQAgg/j30LCTI1bmgn6vkthdwyTiERWeKKG4PAQYNyav p7c49I7DbOVKwPM7H29DQIfGURQmVejJs6+t8uWAStskU8Jfqjp/Bh1YGSV680P3Kqbe72ibxNgP wiXP+FTkJQ47QZG+eedvHK2s6YX3aTEhTtFbIbtf63VNbf0lrvssY+k7AFq3OzPFNEqjjsC2tK84 /4idnRqb1G+QhJMqkY3hAhs6WHG76NaQFVZhfubT7AeifTmi0GuetI3VVjAQIaDtVs822bgzhxkd AV2KFgN/MvJX9yu3PsN6rObOy/Hw4kluyJbQJxQU5neJMDB4w/lS2ZuXhvP2tA7pyv/791l1zCHM WhQUKneJ4jw72gUgeUJstMknyyU0QBpiK1Qf+zrSKJ0= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] pkt mempool with custom refcnt X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 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, Is there a way to create/configure a mempool in such a way that while RX bursting, the packets created from the pool have the refcnt greater than the default value 1? I can iterate over all the mbufs and update the refcnt valued manually for each received burst before pushing the bufs for further processing, but this is actually too slow and we start dropping on the NIC.. So I was wondering if this case be delegated to DPDK or perhaps the NIC (While creating the pool maybe?), so that I get rte_eth_rx_burst mbufs with refcnt > 1. Thanks -- BR, Filip +48 666 369 823