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 D6050A0548; Tue, 20 Dec 2022 22:23:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CB4440698; Tue, 20 Dec 2022 22:23:11 +0100 (CET) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id AC73A40684 for ; Tue, 20 Dec 2022 22:23:09 +0100 (CET) Received: by mail-pj1-f51.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso110476pjt.0 for ; Tue, 20 Dec 2022 13:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=c4PuEtgytoUWJgHJ81MoCxFI2NSuNEIM2vhaqiN+Rug=; b=ON5aMk9eoxG2EZI8nrEe6MFLUnDJ41zQ1/KSFygNmjODNKi/b1YcBfbLqttzYlBv1M Ah12lJshum0/BfLAU71F7k1cedpWdcXsWRz0OuGaRVSqeC3MZ4PO7TQgXjCy8VjniEas EzjqpueYhWZ59NGzWiwpFCFlYY/onJ75ghDGR8rNU3seRG4lWZDT596QTPqIq97MxY+5 7yMzIhcVVxfgOV0lsOhx5Nz3YDqgDgo3vAvsgdgnLCf8/CzQkJ0wiXme0A9xhYsSfJH+ dZtVR8Cl2ToglE1CkyIXbXFaRD+IR+b7wTcpFiDxA4lBFbjIXCcJZOiEZcknYUc6VYEZ 7nhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c4PuEtgytoUWJgHJ81MoCxFI2NSuNEIM2vhaqiN+Rug=; b=aB9G6XP3thl1KTFoRKCrNQ+t9DX4uT9MdBOsztDazWXBj9iuyNlBte15ISm3onynaa zg1lPvyxwkxLG1ZKBDdd7uIqE1yKhi89iOnglrdFahY9zakrQDmxcXOH7tAQvLYgY/wb JNtdrYqKBA5/P8ZOe0EmtxmatrrvTNuofxb7Z3E1yFOCmXteL10WOIZmP3UhyUzrmhFp vZhhNPYTz+O3438yXHBqpktFYDUff5Tb/nlhO1a088xp9VQMr4gStDhncCo7agBaXL4F XX7YK2EKrjiZ6StrmBkSxrOrWElH9O9ZTtJCYzVjCNtfCQyP0+/q+2hui8mq5WqjqDt/ 6Oew== X-Gm-Message-State: ANoB5pm7dV9rKLqK0aWTKp8um8R1jUIQAaVm8OBepC0pH1C3pqgyTkYd ilRxP/BM/j0mB11Dkb2WKKcs0Q== X-Google-Smtp-Source: AA0mqf6YdO0qp06bHYf/N0w3P/WkuCeo1QQyx5W3UtsOTWTLDMZEsdEMERVRZ50FVSfQGHRvFUuAzg== X-Received: by 2002:a17:902:76c1:b0:186:ad88:43a9 with SMTP id j1-20020a17090276c100b00186ad8843a9mr52324342plt.36.1671571388674; Tue, 20 Dec 2022 13:23:08 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id jg21-20020a17090326d500b00189d979022fsm9790665plb.191.2022.12.20.13.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 13:23:08 -0800 (PST) Date: Tue, 20 Dec 2022 13:23:05 -0800 From: Stephen Hemminger To: Hanumanth Pothula Cc: Aman Singh , Yuying Zhang , , , , , Subject: Re: [PATCH v4 2/2] app/testpmd: add command to process Rx metadata negotiation Message-ID: <20221220132305.2c8ee26a@hermes.local> In-Reply-To: <20221220200250.2413443-2-hpothula@marvell.com> References: <20221006183522.1330826-1-hpothula@marvell.com> <20221220200250.2413443-1-hpothula@marvell.com> <20221220200250.2413443-2-hpothula@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 21 Dec 2022 01:32:50 +0530 Hanumanth Pothula wrote: > @@ -12851,6 +12908,7 @@ static cmdline_parse_ctx_t builtin_ctx[] = { > (cmdline_parse_inst_t *)&cmd_show_capability, > (cmdline_parse_inst_t *)&cmd_set_flex_is_pattern, > (cmdline_parse_inst_t *)&cmd_set_flex_spec_pattern, > + (cmdline_parse_inst_t *)&cmd_config_port_rx_metadata_parse, > NULL, > }; > Why are all these casts necessary? the function should match the prototype.