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 B95F045B38; Mon, 14 Oct 2024 17:22:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 524104027F; Mon, 14 Oct 2024 17:22:42 +0200 (CEST) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id DA33B40151 for ; Mon, 14 Oct 2024 17:22:40 +0200 (CEST) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-20cb7088cbcso20172955ad.0 for ; Mon, 14 Oct 2024 08:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728919360; x=1729524160; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=GzL+fnD+uN0iaalIkvliLEom7axpnohj9ccN3jYGDHk=; b=1wG7UMBVsM1NEJmS2DMFvkIPz1ii2FcVTk68cPZRHf1HaGHFIu0lcIhwNo3BVnWIer SGrF7wvSonCJPQXyJo036uT4B+uo5VFgJ1LMOCR4l40NdhdNJnPB9cdKj8l6KHte0osX V7IMop7GCKdCYSID8xArxy9JuGpQC5w85nu2ZgVGkrQXM1uB3Lud8A2AgmhUIPHQbRos xQoZMlXvoM2gwU2lBkt7D2jymzt11gsctuQRJxzl7LSAo6OZaaT7xDWRTLn70WWzpDM9 axr9GEwBCiO/Vs6brE2N90929NDnu5P+bmZudW0mVJelPjlGbohRqKGNY8ThJWqzyQtE tAww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728919360; x=1729524160; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GzL+fnD+uN0iaalIkvliLEom7axpnohj9ccN3jYGDHk=; b=AdVa8j8u3h09Q3SAGvmWN/qqWr+8uHuVtb9NtbCOuEmXTLrkBDM/6QGf0zvjPxOpT4 KUkd+k16/fercBme9Y2+MQF4hNiFO0WF51L6lxFBdCFnn6PVh8m75xpOD8t1aXbiVjV2 LroDn610hfKCt3XENuXrGaAOxPPOT4XAvLnWa2sjQUFf/YynFb7HiSvTPeERtEOOonI8 beCn4cy+U7Bb/6c4Ek3WVXTriY1+W5n9IiSECj8BnebAo5IE1bss65oYtHJCZXn47In5 pjhbw+/pfdAPaAlALSEFhIybLK7GM/+FZNRz/GGaGSVz3Sawwr02GVlzg06DqM4KwCly AQtg== X-Gm-Message-State: AOJu0YzIAkeSP4q1p9h8o+ybdGM0FnAnb7mPxHjMp2c2b7ZOzWaPPWH4 LPsd0/VEFplD8n54RfRRKRmj2A1qF3psKtdiloRx23M69dDNmF+40F0v7uUa3P8= X-Google-Smtp-Source: AGHT+IHsWxSsV+GTKLXr6qS7JAWVM3FoboM7wnuSWG89M+oRirzxLew2+kuJYDO1yTe1GixvkMg67w== X-Received: by 2002:a17:902:d588:b0:20c:7898:a8f5 with SMTP id d9443c01a7336-20ca148bea0mr167570005ad.28.1728919359717; Mon, 14 Oct 2024 08:22:39 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c8bc0546csm67204415ad.79.2024.10.14.08.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 08:22:39 -0700 (PDT) Date: Mon, 14 Oct 2024 08:22:37 -0700 From: Stephen Hemminger To: Vladimir Medvedkin Cc: dev@dpdk.org, rjarry@redhat.com, mb@smartsharesystems.com, david.marchand@redhat.com Subject: Re: [PATCH v5] fib: network byte order IPv4 lookup Message-ID: <20241014082237.7d8ca276@hermes.local> In-Reply-To: <20241014133708.333328-1-vladimir.medvedkin@intel.com> References: <20241011175701.116371-1-vladimir.medvedkin@intel.com> <20241014133708.333328-1-vladimir.medvedkin@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 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