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 9DF54459FA; Sat, 28 Sep 2024 02:00:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64471402AE; Sat, 28 Sep 2024 02:00:47 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id BF2EE40144 for ; Sat, 28 Sep 2024 02:00:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727481644; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3TmcPQLmez0Lm73Fn0NOBXcbxcQsrl1ZYaU3O12U8EI=; b=L/U/g8jHciiHiG1bB+DAWpGrhe+AgQMOO05PBj0ZU6eYaClvRcHhPqBxCJr/E1Jam/oqSu 8bKL+Ojdn62nzWw3aymCoLTsz3SjoXsT2FOtyztjLAd+Qz6pyJew5bsaryvMmLsNxz6RBf M6RBWJPPnJ2q64uhWLD1mFx8v/LBWcg= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-287-6rX71hBJNte1pMwAZ97dCA-1; Fri, 27 Sep 2024 19:51:49 -0400 X-MC-Unique: 6rX71hBJNte1pMwAZ97dCA-1 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-5356908d54dso2288168e87.1 for ; Fri, 27 Sep 2024 16:51:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727481108; x=1728085908; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3TmcPQLmez0Lm73Fn0NOBXcbxcQsrl1ZYaU3O12U8EI=; b=lAy65XmQQg1xIxdF3sWzlVkMLS80NftQOBbGA2YCqm5eTr9U4X0sgPdyuRiKsAru1c p/RY/r8+qYyG0rW8hkC6txyn2VfrYxLzSUQ4rEzB0HHGYWsqsbCvrzjm5MjphWveC0Jm 4stB1eBuObx+AW8sOKhbOslOjsH1/I5XuBAauWzTCOQGLa6r62kpU3AWqfuZLfL5EORl sb1+MqpbrGdp6uKGdySFu3MEdNpWllyaNwB6PXGDKjdstQlbT2oC3g9jrtROkd8dQxmW uqSnlw67RNvxzNCUwoicDj6TPzHLUcG84F+/fPjVWfr5ZmMmFNh6DKj8AuMzlsRtLu86 h9tg== X-Gm-Message-State: AOJu0YybILcSkUxxhGUlKAv/d2mQFn4uUDglSaxrOs1/C2hssAEK/Wj4 DIIAZhOuSeJO+v+ZoGeAfVlVGRVDov0B9MaRaCc1XbGTFz3odnmjUtgibDpGO0ZJQTqrhX5uIzm PaOafNigNfHEGfCFWHScaZW8rJGj8yDlk0EeVdGNvMXXNkJJbGy0Yi7wJgnXOO5YDju0U+QopTY +/VfU3Lb5gcD+vWnE= X-Received: by 2002:a05:6512:1047:b0:534:5453:ecc8 with SMTP id 2adb3069b0e04-5389fc79012mr3195233e87.52.1727481107985; Fri, 27 Sep 2024 16:51:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVMsog8cBaE69zrqwiGw5s0j/+BG+65N9kPQdkqMIwb3GV0A2vvYLaVMT1cIMrXAC8j8nLdR2dj2Pee7sb/CA= X-Received: by 2002:a05:6512:1047:b0:534:5453:ecc8 with SMTP id 2adb3069b0e04-5389fc79012mr3195226e87.52.1727481107529; Fri, 27 Sep 2024 16:51:47 -0700 (PDT) MIME-Version: 1.0 References: <20240906170649.1325254-1-vladimir.medvedkin@intel.com> In-Reply-To: <20240906170649.1325254-1-vladimir.medvedkin@intel.com> From: David Marchand Date: Fri, 27 Sep 2024 19:51:35 -0400 Message-ID: Subject: Re: [PATCH] fib: network byte order IPv4 lookup To: Vladimir Medvedkin Cc: dev@dpdk.org, rjarry@redhat.com, mb@smartsharesystems.com, Bruce Richardson , Konstantin Ananyev X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Fri, Sep 6, 2024 at 1:07=E2=80=AFPM Vladimir Medvedkin wrote: > > Previously when running rte_fib_lookup IPv4 addresses must have been in > host byte order. > > This patch adds a new flag RTE_FIB_FLAG_LOOKUP_BE that can be passed on > fib create, which will allow to have IPv4 in network byte order on > lookup. > > Signed-off-by: Vladimir Medvedkin _mm512_shuffle_epi8 requires avx512bw, so the dir24_8 AVX512 implementation can only compile when such feature is supported and enabled. Like the trie AVX512 implem. IOW, we are missing an update of the library meson.build. --=20 David Marchand