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 81586A04D5 for ; Mon, 14 Sep 2020 11:21:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F6531C0D7; Mon, 14 Sep 2020 11:21:04 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 2FFD2160 for ; Mon, 14 Sep 2020 11:21:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600075260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oJrGf3/q1uH8kdOhlA0adfMsjqos09BfpIHgLDHt8oU=; b=OVl3W2+Egb9sru2t0p7kETGLQ3gsMhJ/kAbBii9w8d2P6wZibLLJH6FEqIv+8IQu60dnUM 8qAxsnRj9jXou9bqyncq6K7JVe/po6zP0wU4V+JrxfPAoe43Wc59Y96tgjir1NvPhGOqYd oZtWP0UVbzRbVVs7XnkJuLl5Hnppw8U= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-588-_SjA6gNUMYak0n_-4s0IwA-1; Mon, 14 Sep 2020 05:20:57 -0400 X-MC-Unique: _SjA6gNUMYak0n_-4s0IwA-1 Received: by mail-ua1-f69.google.com with SMTP id p65so1282725uap.22 for ; Mon, 14 Sep 2020 02:20:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oJrGf3/q1uH8kdOhlA0adfMsjqos09BfpIHgLDHt8oU=; b=lVAHGhNuaHNohAr2PP7M4a904nkkTcenixpsV3gpmlD6uuB0BNmEYNYVLqkKtwU32f MieXSfKvqwkLQwE8KCzBE4CqvBmDOFX9GG+95lBQOPkDU2IMZKYLAev8VQswp+9jQqUp vkXQpqymce+GBqJqn3RpBtVqWS2Czd9Sl4UBDOfTYtgYSRAPEGtCK18V85/5RfqG7npO IIj++rJ7qe9BJOhe7b0HAo45q7jiQxlbAsbUm6IYExYMcWT2X322QCSXnFMZCmwUo7U2 t+uCASQzC1Q3U/E9Lq7W+eiLnHiI2fCJV3wHt6VnImcdJVw4ijcB6lSlDru2LwRgY4S0 AEMQ== X-Gm-Message-State: AOAM530yiv4ilslLo/KgGqbJ2mt1JUfnR2mMlrTWR85LtrR//JwlXaXa n2zDJ6Xw9Zxw9VBWGXjn4GO3PhQtKieA1La8kuH5g9Z43+B3SJUjD0WlIxnzgToBCL5OleauqIP 26SeClFMMfisXNhxQgjHbBM4= X-Received: by 2002:a67:ee02:: with SMTP id f2mr7029550vsp.11.1600075256675; Mon, 14 Sep 2020 02:20:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrrk/DrS99AMNmsztQ74M0GVQszcBQp1loxJt8rTMWH1+WkXsmjNIN7Nj6c5iiSKELe7LmPoWOffGqhapCF+I= X-Received: by 2002:a67:ee02:: with SMTP id f2mr7029548vsp.11.1600075256456; Mon, 14 Sep 2020 02:20:56 -0700 (PDT) MIME-Version: 1.0 References: <20200729063105.11299-1-feifei.wang2@arm.com> <20200911161002.19816-1-feifei.wang2@arm.com> <20200911161002.19816-6-feifei.wang2@arm.com> In-Reply-To: From: David Marchand Date: Mon, 14 Sep 2020 11:20:45 +0200 Message-ID: To: Honnappa Nagarahalli , Feifei Wang Cc: Konstantin Ananyev , Olivier Matz , "dev@dpdk.org" , nd , "stable@dpdk.org" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH v3 5/6] test/ring: fix wrong size used in memcmp X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Mon, Sep 14, 2020 at 6:38 AM Honnappa Nagarahalli wrote: > > > > > > > When using memcmp function to check data, the third param should be the > > size of all elements, rather than the number of the elements. > > > > Furthermore, do code clean up by moving repeated code inside > > 'test_ring_mem_cmp' function to validate data and print information of > > enqueue/dequeue elements if validation fails. > This patch is fixing 2 things. But only the memcmp issue need to be backported to stable. I would prefer to split this into 2 and mark only the memcmp commit to be backported. +1 -- David Marchand