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 6CB22A0588; Thu, 16 Apr 2020 19:48:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A6CA1DDF2; Thu, 16 Apr 2020 19:48:40 +0200 (CEST) Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) by dpdk.org (Postfix) with ESMTP id 4AA571DDEE for ; Thu, 16 Apr 2020 19:48:38 +0200 (CEST) Received: by mail-oi1-f195.google.com with SMTP id k9so17273076oia.8 for ; Thu, 16 Apr 2020 10:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OKLa/bqoSTG6rn8mescJjPhIhBN2suS9byrJolH/iP0=; b=D7IYOLrntN2iA1nQ09p6cKruQ8KROCD9shD2OM++vbdZskFdnUdlIXdnGjzErJHtIr SCR8xuzAI2ZLkyWbc3Y46XBxha4FO4W+CRQY+QtdqFCJluMjsokcP+AqN+8dQAgna+x3 aFcQZUTApOUwQj8iJZJUuhUw2HYt73FCGi5F4= 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=OKLa/bqoSTG6rn8mescJjPhIhBN2suS9byrJolH/iP0=; b=GamOR26hQCWkqseenAbwjrORhVJ6RNJGhNyw+aZck9Zl0dMh2wxSFXkm6vNb9XzdvY aIrzI88nj28x5IgZrLM6AUJ8OeG6JUwtVnDZ3fAg04fNDoumblDz8lFgnr/5Dv4Nr+6N xQ1Ymr7g1JJBjkGbEc1OrXZV8XN9XS45F+9hsmLaC5UAPilm8loVf7VjjcnUqV6XCyjQ QDtHHsY1YmLE8lRqLOf0MK0IRscQUuL7ImfPV7BbgQ+AuNd8yU91LaldrZsPur+Sa0cp HeaskIwaUgjH+axq743V1InpB6NDXohGz5UxbhVQwABxemfwmRYo68mdYTMTdISEYdnz q6QA== X-Gm-Message-State: AGi0PuZ8LGopv4zG3KfkrgM2FpjrF7QQUrfKfhKscDgVJdr0DewRRBdp rHn6ieUvoDguWx7jpyzkCnDD77+W6dC9l2JWXOOmhw== X-Google-Smtp-Source: APiQypIZS7uWC8JHFIiT3c0iD4fTXq65+A3r9LMXYpQfz1yyBiYMb8eNWLxXUDwfyeH/l2ft31DJfNjyZfgZRPLWma8= X-Received: by 2002:aca:bbc6:: with SMTP id l189mr3793984oif.168.1587059317268; Thu, 16 Apr 2020 10:48:37 -0700 (PDT) MIME-Version: 1.0 References: <1586852011-37536-1-git-send-email-venkatkumar.duvvuru@broadcom.com> <1586938751-32808-1-git-send-email-venkatkumar.duvvuru@broadcom.com> <1586938751-32808-6-git-send-email-venkatkumar.duvvuru@broadcom.com> <4da3950d-67f0-6887-e5b5-842c0dc7d2a8@intel.com> In-Reply-To: <4da3950d-67f0-6887-e5b5-842c0dc7d2a8@intel.com> From: Ajit Khaparde Date: Thu, 16 Apr 2020 10:48:21 -0700 Message-ID: To: Ferruh Yigit Cc: Venkat Duvvuru , dpdk-dev , Michael Wildt Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v4 05/34] net/bnxt: add initial tf core session close support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Apr 16, 2020 at 10:39 AM Ferruh Yigit wrote: > On 4/15/2020 9:18 AM, Venkat Duvvuru wrote: > > From: Michael Wildt > > > > - Add TruFlow session and resource support functions > > - Add Truflow session close API and related message support functions > > for both session and hw resources > > > > Signed-off-by: Michael Wildt > > Reviewed-by: Randy Schacher > > Reviewed-by: Ajit Kumar Khaparde > > <...> > > > +static inline uint32_t SWAP_WORDS32(uint32_t val32) > > +{ > > + return (((val32 & 0x0000ffff) << 16) | > > + ((val32 & 0xffff0000) >> 16)); > > +} > > + > > 'SWAP_WORDS32()' is not used in this patch and causing a build warning > [1], can > you please add this function on the patch it is used? > > [1] > .../drivers/net/bnxt/tf_core/tf_core.c:17:24: error: unused function > 'SWAP_WORDS32' [-Werror,-Wunused-function] > static inline uint32_t SWAP_WORDS32(uint32_t val32) > ^ > Can respin and send with this taken care of. Thanks