From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id 1D6BFE07 for ; Mon, 30 Apr 2018 15:42:27 +0200 (CEST) Received: by mail-wr0-f171.google.com with SMTP id u18-v6so8082700wrg.3 for ; Mon, 30 Apr 2018 06:42:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=dbZvlEA5AIelDFjZVC2Nxq4GHRrXhSfDGBOH04+DUN4=; b=inl1wvFEYn9p2dmdtvzLB9f51idPlVAYixkQS5AUXbKf+loM5TtmhXq0HLw6XkLvWb dDnmX4kZEMAG4e4vBYokNVUMs1jYvQp1VaRuBPSFB2s+Jp/kk0h+x73wHTZMgcc2W2uY JLvQAuKIxzvIoFL/j66LL9I9T7ndyBlbb1hv03dcln/EpRQJEClkyoa5SZ6ZnMZUxqE3 2ZiDyTJ2Qn+6y9qF7+i7+8ChHvqh6FFxSy6xyit+d1e0gdwj+8GBxHOFl/NnBHbn2b9t x1uMzvgGTGmPUALx/zLUAzddh+s0uFJljYny5MtyCJlJAIi22YRA5Cyd9dPRiqZaN36B HloQ== X-Gm-Message-State: ALQs6tDwm/Wvyf17DAkWqJuyExrOAIO302z8KZt/p/k5zGbLU1cjTr6v dVCDQXfZnMcGHgwvh4FOcac= X-Google-Smtp-Source: AB8JxZqMFqvJIrYhsVbS/S9QgNnAWendQ6xoXRvRbFNJh/kS7k4rCAHcr7ULwaDFTdcXdOL66VP8+A== X-Received: by 2002:adf:e1ce:: with SMTP id l14-v6mr8765174wri.148.1525095747537; Mon, 30 Apr 2018 06:42:27 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 19sm8294943wmv.18.2018.04.30.06.42.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 06:42:26 -0700 (PDT) Message-ID: <1525095746.23337.19.camel@debian.org> From: Luca Boccassi To: Ophir Munk Cc: stable@dpdk.org Date: Mon, 30 Apr 2018 14:42:26 +0100 In-Reply-To: <1525091032-10700-1-git-send-email-ophirmu@mellanox.com> References: <1525091032-10700-1-git-send-email-ophirmu@mellanox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v1] net/mlx4: fix CRC stripping capability report X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 13:42:28 -0000 On Mon, 2018-04-30 at 12:23 +0000, Ophir Munk wrote: > There are two capabilities related to CRC stripping: > 1. mlx4 HW capability to perform CRC stripping on a recieved packet. > This capability is built in mlx4 HW. It should be returned by the API > call mlx4_get_rx_queue_offloads(). > 2. mlx4 driver capability to enable/disable HW CRC stripping. This > capability is dependent on the driver version. > Before this commit the seccond capability was falsely returned by > the mentioned API. This commit fixes it by returning the first > capability. >=20 > Fixes: de1df14e6e6ec ("net/mlx4: support CRC strip toggling") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ophir Munk Has this or a version of this fix been committed to mainline? --=20 Kind regards, Luca Boccassi