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 B6A01A04B7 for ; Wed, 14 Oct 2020 15:53:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EAFEB1DE5A; Wed, 14 Oct 2020 15:53:45 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 95FEE1DE42 for ; Wed, 14 Oct 2020 15:53:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602683615; 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=RcxyVCK2JIu7Td67RCK4kqzJu02c5MPfgdSAnqwUIcw=; b=dyDMznr5sOyxl74TxRlk2W0vpkeE6fdKmuKX13LFVwLv3fUBaL1UeMj9KRDnj6eFSawiKH tm3+EUASlytNdKBxYbqHJFoSJTVRxbSRbSXFkhBwD8xqfWvopAJi+akEytLSCnMo3ttx+S SZL8jb3+cXMkMbd3DwuBbaVJNwqdvrA= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-514-dIJl6up6PresJMtm5n_cqw-1; Wed, 14 Oct 2020 09:53:33 -0400 X-MC-Unique: dIJl6up6PresJMtm5n_cqw-1 Received: by mail-vs1-f71.google.com with SMTP id q28so1001224vsr.20 for ; Wed, 14 Oct 2020 06:53:33 -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=RcxyVCK2JIu7Td67RCK4kqzJu02c5MPfgdSAnqwUIcw=; b=ThI/93h3J2NVTxKnIHThPqvFnbinxgvPQhX9n3GxTg3v8pgIvtbinpDH6JVTtlO/5U hfb58+X/WnvKiaA/R3nT0UHyCrCWrIUi01wsVNqP3pN9xsenkF+pRJKVkP2Z+rv1LSBJ 3sdEU9wAZSI30Qkr/hyHjTMMdr5x8F48aZ4labtLz/xd/D63M72L/ukVFMZWNHDwLKDm NzN0HdThAwucCDkWYcSxi/7ORI4foJRYnuripOE0v23s2C/Q5IhPae4vImY4ifDKfka7 Sb/EMuPth62hld11ae2e1ag489RRgiFbGBUGz1ErBpUjtwJWLFlWhHCUcFczjesguM6Q d20g== X-Gm-Message-State: AOAM531Rx3LGyum/DPeoyErJ6S2fpL2AttiTr491KRBuhbsBEaSBsmSs bDuEcA3AmIE7xRxsXDOGR+o7ZbCc/tJoO3WQKd2DiPOGfImWkoa2lBhrWlSXtWEX/mtJQTRK6hH Jj0eerNEk1voqZTEeD6jxy4I= X-Received: by 2002:ab0:5926:: with SMTP id n35mr2769139uad.126.1602683612828; Wed, 14 Oct 2020 06:53:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCQFJ+b8AK7BcAnaqXioBzpgHZnqC+hLLEb9XZOUuuh/tH4xfqoC7i43ROzZBX1p+f1fHGYitpqOtEDneddmQ= X-Received: by 2002:ab0:5926:: with SMTP id n35mr2769126uad.126.1602683612566; Wed, 14 Oct 2020 06:53:32 -0700 (PDT) MIME-Version: 1.0 References: <20200616162705.83575-1-ting.xu@intel.com> <20200722021628.17194-1-ting.xu@intel.com> In-Reply-To: <20200722021628.17194-1-ting.xu@intel.com> From: David Marchand Date: Wed, 14 Oct 2020 15:53:21 +0200 Message-ID: To: Ting Xu Cc: dev , Cristian Dumitrescu , dpdk stable , Kevin Traynor Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v4] lib/table: fix cache alignment issue 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 Wed, Jul 22, 2020 at 4:13 AM Ting Xu wrote: > > When create softnic hash table with 16 keys, it failed on 32-bit > environment, because the pointer field in structure rte_bucket_4_16 > is only 32 bits. Add a padding field in 32-bit environment to keep > the structure to a multiple of 64 bytes. Apply this to 8-byte and > 32-byte key hash function as well. > > Fixes: 8aa327214c ("table: hash") > Cc: stable@dpdk.org > > Signed-off-by: Ting Xu Acked-by: Cristian Dumitrescu Applied, thanks. -- David Marchand