From patchwork Thu Jun 15 14:21:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 105655 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp828198qgd; Thu, 15 Jun 2017 07:21:58 -0700 (PDT) X-Received: by 10.55.7.8 with SMTP id 8mr6574692qkh.124.1497536518144; Thu, 15 Jun 2017 07:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497536518; cv=none; d=google.com; s=arc-20160816; b=eZh6wiFF+cTsk22WllY06O6fk8vNU9T36zEhmkJbWhcxXislL0pcquDEUa5vg29H/M 1OACXn50SdYo9ZfCNdhnGB328M9G6nQi4PrUMB/2v8RkzrTst2+Zj5XXhAumgzmgr+I4 CzzO/jcytuFOeXO1MX6Hs3nlzR+e8qRIrChwPc7BxMDCnGye8kKPLX5NayG0LrMiH1Mu p99umBQ1jSfJz8OlIVDLcw/vNeozdJ2dLiac5uJQQiCan2FjITSS+NGCNpTIy8F6FuX1 vvziniobCX6SmZ3A/xWfoLdeBzy7xgimdRIUgqf5Lxrkjdb7+s89L99vsSeo9/fw6IVC UdJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:to:from :delivered-to:arc-authentication-results; bh=KVOUo9Zey4q4LHq2Yk8nbWzYdZcuyaF18LE7zJ6PQYk=; b=kcOdxS+726FgoH8UHxVUz9+5YPrbS4Fdsm4Fbd9YbOkkZr/Z95apQJjlsQ4a1GJlWo f6O8tsE/kOLZi6hbdgVoLm4eeUgij8LDfqxcDBmJU93gUnHY+iIumJbW4m/7Y5LoOqaa r3bJqhDW8Y3/aJeQTuMXndgJJS8IGHykWm+eJUnErGxcX4+6RMOpT5YBH/aAxThNRm9e 6LeMq2m1+WtzaWc7iiq+/dKDK826YN/g6GTz2GIjx5pK9qEPaJDDemdDEeabPCD3tuyg SzATQpfC3pRcjF0wOdiugW9aVP1uRap5AKDf7NHyce0TKPjqzK5hfB80Ba46aUPs/5I6 fq9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w145si249154qka.263.2017.06.15.07.21.57; Thu, 15 Jun 2017 07:21:58 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8C90C60C1B; Thu, 15 Jun 2017 14:21:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 697D46067A; Thu, 15 Jun 2017 14:21:50 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 142856067F; Thu, 15 Jun 2017 14:21:48 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0121.outbound.protection.outlook.com [104.47.0.121]) by lists.linaro.org (Postfix) with ESMTPS id 3BD8460674 for ; Thu, 15 Jun 2017 14:21:46 +0000 (UTC) Received: from HE1PR0701CA0083.eurprd07.prod.outlook.com (2603:10a6:3:64::27) by VI1PR0701MB2477.eurprd07.prod.outlook.com (2603:10a6:800:6e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.10; Thu, 15 Jun 2017 14:21:44 +0000 Received: from VE1EUR03FT036.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by HE1PR0701CA0083.outlook.office365.com (2603:10a6:3:64::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6 via Frontend Transport; Thu, 15 Jun 2017 14:21:44 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by VE1EUR03FT036.mail.protection.outlook.com (10.152.19.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1157.12 via Frontend Transport; Thu, 15 Jun 2017 14:21:43 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v5FEL26h000464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 Jun 2017 17:21:02 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v5FEL2wm000412 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Thu, 15 Jun 2017 17:21:02 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Thu, 15 Jun 2017 17:21:02 +0300 Message-ID: <20170615142102.25851-1-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; SCL:-1; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39850400002)(39400400002)(39860400002)(39840400002)(39450400003)(2980300002)(199003)(189002)(9170700003)(8936002)(105596002)(38730400002)(47776003)(77096006)(106466001)(36756003)(189998001)(5660300001)(50466002)(305945005)(498600001)(2906002)(53936002)(50986999)(356003)(2351001)(50226002)(86362001)(81166006)(6916009)(1076002)(110136004)(5003940100001)(22756006)(8676002)(33646002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB2477; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR03FT036; 1:7gcfvnhAtaHGc95PkWz5XD602hIRw4FS4tW4jhJSXlzorF86xPq3y50R+BwEhRYVTD7qEUSUdJyJ41tJweum/FbqR8dQ+w827J8Q7JwGNGAM7tQnUEFVPhpYyovujJk4HQeHALqrsX7q+tH1GCSgWPhFY7oP0Hn4uvAVqsJVF+8qBmHZjO8/l7CM8Jyt9gqdhuzVIqhJvKkfQDBIMtfyzkGtLMHDZf0j8RkhogkTb5CtT6i02zpKYj2hyTZxJPrQPkP6p8V59TrqoFvdpCYwbZWZJnstY/wa+bYNaeGr7wYtpXFe9n9vWbpwCfypnl/XN6EGrMtc49keoPRA5frf9pzpKFa0MJdilWzUJ4m5VpS+cP9NQcRv1RhAGpskHFIl4HflFKqUimX+4ld8yOwaXzhvfSLREwwi/MSz2MKrUxrhrbDbQ3h6mynHav53bOWBx4AUtcxz5f+gmzIumy/UPGMieefqch77a1EqQDQOs+Q4+vHB8sz9mK5mndLomeuV4RQ2NL+RMxK4A16yNpDCEw== MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7a66236-8b2a-48f1-ed69-08d4b3f9d955 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR0701MB2477; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2477; 3:prA30m2cAoIvRmq0G8fSDM8zsv15ahGFDxklPqeLLbt9/4Qlnj5YG4njhZng5uNbYQUWOIw4RgIeUW2cjGqwK0nwO4JXb1yMHfhk/d0zvcRuKqwvtp9mzj2OW9ZDaeHQuk5NTCGYuVyQGJb0z0eXMg7WkG+Rp4I0NmMoUFEMCkPpz8orltvm3jMnoaeA9Ep2uh/baQM/iOuE3SzhLAErp4dKHtsYwqWxSe0mBswhan7jDiQavLxKSFYPQIuekJV2KM69AtMSgOB7YvpvMy1qidS/jSyD12pZHlII7/O9+86KlTcHDm4GWn/eb3A/z/gIMPtwPo2PuTCPc5N7RlGLX0El2w7xZ3LQBOyQi6hRSjbDvZ8PttIzO7rp1g6RC+cjuABpXPdKLkbC35E0ilFik0KINZZiDeFiBArnl4SpO/41XmdFxrCsv480Cg6o5BxW9HOZhwdkRO1KDDfCO6L25w== X-MS-TrafficTypeDiagnostic: VI1PR0701MB2477: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2477; 25:u8Fy3cZAVBqzyIvJcoVPUzCF7Yz5+EAWuAb1vsxbpEJj7ucrIhQMlZZTcr+3a7St5TVCJSoqThE6xUYdxa/UtwBtn0TD4hmv3WxX139DKyXEdo8Pr8iN7092SrBdM7fC6eRI/3TXCWtTVJ1y23ZiFCPv5oaTMkrpiS7KQzcmnXtbEoQdRF2fhgni9BBy2Bb4Yrx7AGJ4+bbY3f+JmeG3InVi/VHhQmakDS1XHqkN5j/CfRVbjsyqMICb3LSM9FakUHEVWMk8J6ojgsjz/IV69oSJlwhufn81bzM+WkAL4i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9+EbpjXehln0RtAMhKBTV0LnDJxOAeAJrnE5ZWo/4X+J9vSW0nmgWSOdRXxxw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(131327999870524); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13021025)(5005006)(13013025)(8121501046)(93006095)(93003095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0701MB2477; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0701MB2477; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0701MB2477; 4:yZG8p4vz1pQgwnez5YzHwMgbZMVVg88gCo9Iiotz?= lj967f8Kjk5ojdukx4jkdWJ9CozM+7xFaiE1vSzdFEVXa26eqVlvVuvtZmQcR0oBEKqPMtGsqAvZzgn9hn3zkVUHlwD0bfbtpFeWBxBtRKA+cmHczEsJnZp7VL60fRYKxTaqyXraxGab+r8nRfryEmcw9aOTF6uLdTj0nXbuZmAf26bFI+EH121zOJIG+oLVech75Qx56DEbkdx1XbOs0gCoDSez3oua97V26aeZtEPqVZG7tI6XUlipIwCtDW2Uem4f+8IG9RyFu/H2mW6f5w+wVpF/2j2CXlQhVWmOz+H9u/3wDIeTkAVb3/8Taxwdq3vCBQxPLeubziosHgCsFi2WibQuufy5olflHnCpmO18Xt6vOl1B/zOeX4+Xcwc+qfsrN4stg1E6h936RnOYELC/OD5wJiMXAF1l5f55N+7gh6ao9YQeAoAIN6aGC6+bjhg+vjaZjvMTwRYTVi8MbdlfWC26Wqyx89yBQ2/izA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UAj/cj2svBt+7ozt/Haxib+3cx1WT2HtzdFvsIL6NybzlV3T0n8icT71NY6m507DMHzD22WzRo/WbO0xWcQXMaQe54bF1D8ofQFmORzUAEJQG1Y+yvl9csVF0eSTQFzh7RMRfgtgRmCHzvl3GQ0PVpmPNhZBLNiNPSgapWirwb7mIP6j1De5bHLo1BG4rL4KbT7O4NacQopEZoKY36rsqdboAdYhJyMcv3GxEJg3ACIplk+4k1aeOr1dj0S6RLxmzSbcCJ4TLCJ/pl4ERTJRuSLnO0IyJZWgHl/hffC2N+gjWcDQpbPHQ== X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2477; 5:+Gj0Zfa+VwEK7klvaKiDwS5C3O6JwNFkRSTu163BZP0etow0tNhzSlXfMOTh3nYfajx2XNxLo3nE+Rg7BDOvHlhWoZ05Z5weQoCEa6F04n2gXF0U4nzxXvyFNOTfk0y0NkP/8hyszwhSjbWE8jG7xS+tQc4JvABeMEYpzrUwi/xdxwj3L3PZRFOdgmEWZn5x08pWWXDbqGEA6Mrk+2nVjL72xJAF3UA/6NqgOJ8XmRDeKm2DwJGFR5gUidal/KemFmah4gS7YU83CduBr+IA87AgwA7CujBaMifbkJpVpsDwOszrvNe1s9GJ0QLHjNw80NJfSJRRuNAWWgbU3Sa3xcnaU3C6QF9cisViO8b6gzHVnfzSUejb99RTwjQfqoYg6MrOWYIWvuUS9auWM1DWVnflcz78s/4B0w4g0MPIFJTIecoy/qScduoaVcEBerQYBf3b8oQLLZp7hs0sATb0xjqWlFJKQCexrDyDMecj571ZuiFQwPNgN8wL1TPY+uiL; 24:WUknSNPX3oc8rx7k1NK4AjnSeac+9VdM90gMK79uZBf4kwqNF7ocioj7DR81SCeSj52lr8JsIvFWTjBHMOn1SUd/RwuqDF2xS5XAYMrqB5c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2477; 7:sTs7Cu9ldeFigCoAv7N6Noums6LIc2aFSNR0NDTRZ95MOPYzFCouMm4mbjRi+nGmeVcohV0z+OZP0LWNEaMvdZt88F50wnSOWSDNrsrNbUpJTWDK0aAkFRbYQzvBsCOjJLyHGK+fKZt0urv5raJcf26hVKRvquVwyUVEnTzgmy1VK9lqsatZlmWbqw+KZTGsAfo5alU3yw7FnIFp1J/aM+zT+3RdAH+FncPaD11F+v+Fk4utCIbWm1kP6LA5c97UMu7ivBjMIcxvzR/v/Np8xI9Rx/t8mWITG0XvMB7/tUhyDXi46wbK+hkjqx6CCJ14XgtWjijX7EVQL82cZgGXHA== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2017 14:21:43.8879 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2477 Subject: [lng-odp] [API-NEXT PATCH v3] api: pool: additional packet length configuration X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Added packet pool parameters for more fine grained pool configuration. The basic usage of the parameters is not changed, except that implementation may now round up 'num' by default. Application can limit the round up with new 'max_num' parameter. Another new parameter (opt) allows application give hints and requirements about e.g. memory to be used for a pool (or parts of the pool). Additionally, pool configuration may be extended with a table of num/len/opt values. This gives application more flexibility to specify requirements for various packet sizes. For example, the new specification allows to create this kind of pool: ^ | max_num | - - - - - - - - | | * NUM | * * | * * * | o * * * * | o * * * * * +---------------> LEN o == small number of short packets into fast memory * == all other packets into DDR Signed-off-by: Petri Savolainen --- include/odp/api/spec/pool.h | 132 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 118 insertions(+), 14 deletions(-) -- 2.13.0 Signed-off-by: Petri Savolainen diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h index 6fc5b6b4..6b4e7495 100644 --- a/include/odp/api/spec/pool.h +++ b/include/odp/api/spec/pool.h @@ -41,6 +41,9 @@ extern "C" { * Maximum pool name length in chars including null char */ +/** Maximum number of packet pool subparameters */ +#define ODP_POOL_PKT_SUB_MAX 7 + /** * Pool capabilities */ @@ -156,6 +159,30 @@ typedef struct odp_pool_capability_t { int odp_pool_capability(odp_pool_capability_t *capa); /** + * Pool memory type + */ +typedef enum odp_pool_mem_type_t { + /** Default memory type */ + ODP_POOL_MEM_DEFAULT = 0, + + /** Fast memory. Some implementations may have a restricted amount of + * (e.g. chip internal) pool memory that is faster access than the + * default memory type. */ + ODP_POOL_MEM_FAST + +} odp_pool_mem_type_t; + +/** + * Additional options for packet pool creation + */ +typedef struct odp_pool_pkt_opt_t { + /** Pool memory type. Hint which memory type should be used for the + * pool or a subset of the pool. */ + odp_pool_mem_type_t mem_type; + +} odp_pool_pkt_opt_t; + +/** * Pool parameters * Used to communicate pool creation options. * @note A single thread may not be able to allocate all 'num' elements @@ -185,35 +212,96 @@ typedef struct odp_pool_param_t { /** Parameters for packet pools */ struct { - /** The number of packets that the pool must provide - that are packet length 'len' bytes or smaller. - The maximum value is defined by pool capability - pkt.max_num. */ + /** The minimum number of packets that are packet length + * 'len' bytes or smaller. The maximum value is defined + * by pool capability pkt.max_num. An implementation + * may round up the value, as long as the 'max_num' + * parameter below is not violated. + */ uint32_t num; - /** Minimum packet length that the pool must provide - 'num' packets. The number of packets may be less - than 'num' when packets are larger than 'len'. - The maximum value is defined by pool capability - pkt.max_len. Use 0 for default. */ + /** The minimum packet length that at least 'num' + * packets are required. The maximum value is defined + * by pool capability pkt.max_len. Use 0 for default. + */ uint32_t len; + /** Packet pool options + * + * Options contain additional hints and requirements, + * which quide implementation e.g. to select correct + * memory type for the pool. + */ + odp_pool_pkt_opt_t opt; + + /** Number of subparameters + * + * The number of subparameter table (pkt.sub[]) entries + * filled in. Subparameters continue pool configuration + * after the three parameters ('num', 'len' and 'opt'). + * above. The value must not exceed + * ODP_POOL_PKT_SUB_MAX. The default value is 0. + */ + uint8_t num_sub; + /** Maximum packet length that will be allocated from the pool. The maximum value is defined by pool capability pkt.max_len. Use 0 for default (the pool maximum). */ uint32_t max_len; + /** Maximum number of packets + * + * This is the maximum number of packets of any length + * that can be allocated from the pool. The maximum + * value is defined by pool capability pkt.max_num. + * Use 0 for no requirement for maximum number. + * The default value is 0. + */ + uint32_t max_num; + /** Minimum number of packet data bytes that are stored - in the first segment of a packet. The maximum value - is defined by pool capability pkt.max_seg_len. - Use 0 for default. */ + * in the first segment of a packet. The maximum value + * is defined by pool capability pkt.max_seg_len. + * Use equal value with 'max_len' to ensure that all + * packets are single segment. Use 0 for default. + */ uint32_t seg_len; /** User area size in bytes. The maximum value is defined by pool capability pkt.max_uarea_size. Specify as 0 if no user area is needed. */ uint32_t uarea_size; + + /** Packet pool subparameters + * + * This table gives more fine grained requirements for + * pool configuration. The table continues from + * num/len/opt specification above. Therefore, + * pkt.sub[0].len must be greater than pkt.len, and + * pkt.sub[0].num refers to packet lengths between + * pkt.len + 1 and pkt.sub[0].len. + * + * Table enties must be ordered by the packet length. + * A number of packets figure (pkt.sub[N].num) refers + * to packet lengths between pkt.sub[N-1].len + 1 and + * pkt.sub[N].len. Each number of packets requirement + * may be rounded up, as long as the 'max_num' + * parameter is not violated. A pool fulfills each + * num/len requirement separately (when there are no + * other allocations from the pool). + */ + struct { + /** Number of packets */ + uint32_t num; + + /** Packet length in bytes */ + uint32_t len; + + /** Packet pool options */ + odp_pool_pkt_opt_t opt; + + } sub[ODP_POOL_PKT_SUB_MAX]; } pkt; /** Parameters for timeout pools */ @@ -278,8 +366,24 @@ odp_pool_t odp_pool_lookup(const char *name); * Used to get information about a pool. */ typedef struct odp_pool_info_t { - const char *name; /**< pool name */ - odp_pool_param_t params; /**< pool parameters */ + /** Pool name */ + const char *name; + + /** Copy of the pool parameters */ + odp_pool_param_t params; + + /** Packet pool info */ + struct { + /** Maximum number of packets of any length + * + * This many packets in maximum can be allocated from the pool. + * Application can use this e.g. to prepare enough per packet + * contexts. + */ + uint32_t max_num; + + } pkt; + } odp_pool_info_t; /**