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 283D145B3A; Mon, 14 Oct 2024 18:59:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 178AE402DE; Mon, 14 Oct 2024 18:59:29 +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 7D5524026C for ; Mon, 14 Oct 2024 18:59:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728925167; 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=dzHUja5NguxyYkFGMFrwZzxJLIk1EP0aAyytTN/wyik=; b=Dh3ZsySDEyrmjX+eeDmj3Pr9uyr349qvqWqI5balUl3t4l16Pa9pR/XcaKKxEfE2hZX4E0 LMVhj229Zwr7Wta54bGrQ9wh/2BSKB7cHUwBkF8ikSV453/LSEBUMaNUnv9fVHua7eo9fV sMZOM2xawEGJmRW79DsYI2ExafNKIOc= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-131-Lbhxrz_FPj635qCFBD74mQ-1; Mon, 14 Oct 2024 12:59:23 -0400 X-MC-Unique: Lbhxrz_FPj635qCFBD74mQ-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-539eeb63cc3so1137080e87.2 for ; Mon, 14 Oct 2024 09:59:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728925162; x=1729529962; 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=dzHUja5NguxyYkFGMFrwZzxJLIk1EP0aAyytTN/wyik=; b=beXo/wgcVfck47o4BOnZ2AWb/Mc++C4GF3uQIqFAe7MrncsCBtc/uQCKm4SPT9Ycdf 58l6T9CDcm6Wk38N7mKhB871LtFr89D7SJBOD4gP5vgc3Pilm42IXvuxvtp2qsWwedeK aMmiCZvLn8ciqp912/XzRGWM7j9B5Onp8SRzVsNes4xyU+MhB4t6b4Lrzpwsz4SgKZdB xrA/rJotwm6BQ8HQFKvO3jGdonUdYWX82Y5ibB6KAa1IAVxa+1bW8cefv9GmC4HRKnPy a8VtqUUa15mY0x1/Q2Hok93/2xBomprpX9rbad6MMEuXdYC4Jk9tJAg59G1JmKBxZ4nZ qMnw== X-Forwarded-Encrypted: i=1; AJvYcCVQdzkp4TiD/a0W5+fsc+S/NQ5dzYY/KQAn/Mp0cMw8QiX92yheEMEYlitEcJvxFLpw3pE=@dpdk.org X-Gm-Message-State: AOJu0YzGVrPXAplqOovGiDNK8D0KMVtU/y0vwXmO9oy3pwyz+EpBQYNx NtJiqQHGjiVQxZq1cIURmtwT4+5xOiFkSZI6FH8x5erLHTzf40+cclcRZsc2qE8MhaTMeuHF5QB qziZL2ThST41iyxW/mlZeTIEsoCkBwlGg9TP0DpuOZMdzhxv0eF+xDfAWmdKnOELOGJWDaXCyLb qJte6xobdOjy2qu/g= X-Received: by 2002:a05:6512:138f:b0:539:f2f6:c70f with SMTP id 2adb3069b0e04-539f2f6ca6fmr2222525e87.8.1728925162286; Mon, 14 Oct 2024 09:59:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyxolwWbDIMUg6LX2oEmncGZZh2bwz/oQu9zLGDoQpnB7gjG0Tx6Vptbjx9GJoiYLMvn2jnZ1+ArGXcytw6HM= X-Received: by 2002:a05:6512:138f:b0:539:f2f6:c70f with SMTP id 2adb3069b0e04-539f2f6ca6fmr2222510e87.8.1728925161849; Mon, 14 Oct 2024 09:59:21 -0700 (PDT) MIME-Version: 1.0 References: <20241011175701.116371-1-vladimir.medvedkin@intel.com> <20241014133708.333328-1-vladimir.medvedkin@intel.com> <20241014082237.7d8ca276@hermes.local> In-Reply-To: <20241014082237.7d8ca276@hermes.local> From: David Marchand Date: Mon, 14 Oct 2024 18:59:11 +0200 Message-ID: Subject: Re: [PATCH v5] fib: network byte order IPv4 lookup To: Vladimir Medvedkin Cc: Stephen Hemminger , dev@dpdk.org, rjarry@redhat.com, mb@smartsharesystems.com 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 Mon, Oct 14, 2024 at 5:22=E2=80=AFPM Stephen Hemminger wrote: > On Mon, 14 Oct 2024 13:37:07 +0000 > 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 > Acked-by: Stephen Hemminger I aligned the meson bits to other libraries (passing cc_avx512_flags), and changed internal flags field into an unsigned int (like the field coming from the configuration structure). Applied, thanks Vladimir. --=20 David Marchand