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 D3B9945556; Mon, 8 Jul 2024 18:07:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7FB940F16; Mon, 8 Jul 2024 18:07:41 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id 4DCFA40265 for ; Mon, 8 Jul 2024 18:07:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720454860; x=1751990860; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=Us5dlhaFjbSaP1BiduXMlPDcs4TrjLLdzNoE4a+swBU=; b=eiyYIQU2+ocBv3DmucZL+ihVMku/DkaNcWQlkhyPDeO0ud+ky1K46NSo XodFA8wVNPWDKFpLJxP+lv5i7Tjb06n4SAgk89HOpya8NZMZK2G2gl0fA 6tYCgC2BLKm+pTynl35aBHyCXHY55rTAnxEZlluGV6f6lDA9Rs8QjCOL0 goo//CKdCjO43YEU7hjPMwGKRA4PAnx+sXhMHett4g7FNO9sq6LuUp6yo zzCdyDsAhtFl0bO85MUR6UMc4W/G2dbSBG5waunrRJ9oondsudV/4H0BY 3VDIVwbq4bmAuP12+xOntECww4EvhEbgav7z9VB5oWP7t3IRR6XeT8EEQ A==; X-CSE-ConnectionGUID: 3oB3dMUkSGCi3hNw2vbZ7A== X-CSE-MsgGUID: Ogcy9C+FS22iVHakESpiww== X-IronPort-AV: E=McAfee;i="6700,10204,11127"; a="28827513" X-IronPort-AV: E=Sophos;i="6.09,192,1716274800"; d="scan'208";a="28827513" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2024 09:07:39 -0700 X-CSE-ConnectionGUID: i9wvod/vTBmBEm6QNIRabA== X-CSE-MsgGUID: NLORRwHVTxC0rUjAAsN+2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,192,1716274800"; d="scan'208";a="51965474" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa005.fm.intel.com with ESMTP; 08 Jul 2024 09:07:38 -0700 From: Anatoly Burakov To: dev@dpdk.org Subject: [PATCH v1 0/4] fbarray lookahead/lookbehind fixes Date: Mon, 8 Jul 2024 17:07:31 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Once upon a time, a few patches were submitted by Vipin P R: https://patches.dpdk.org/project/dpdk/patch/1673615669-21011-2-git-send-email-vipinp@vmware.com/ https://patches.dpdk.org/project/dpdk/patch/1673615669-21011-3-git-send-email-vipinp@vmware.com/ https://patches.dpdk.org/project/dpdk/patch/1673615669-21011-2-git-send-email-vipinp@vmware.com/ https://patches.dpdk.org/project/dpdk/patch/1673615669-21011-3-git-send-email-vipinp@vmware.com/ They were reviewed and changes were requested, but the author never followed up and these patches kind of fell through the cracks. The patches fixed real bugs in fbarray lookahead/lookbehind behavior, so now these bugs have resurfaced in some customer reports. This is a resubmit with improvements and added unit tests. Anatoly Burakov (4): fbarray: fix incorrect lookahead behavior fbarray: fix incorrect lookbehind behavior fbarray: fix lookahead ignore mask handling fbarray: fix lookbehind ignore mask handling app/test/test_fbarray.c | 102 ++++++++++++++++++++++++++++ lib/eal/common/eal_common_fbarray.c | 28 ++++++-- 2 files changed, 123 insertions(+), 7 deletions(-) -- 2.43.0