From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1F4CC3F2C6 for ; Tue, 10 Mar 2020 15:49:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B3865222C3 for ; Tue, 10 Mar 2020 15:49:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="HEQD6we/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbgCJPtO (ORCPT ); Tue, 10 Mar 2020 11:49:14 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40045 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbgCJPtN (ORCPT ); Tue, 10 Mar 2020 11:49:13 -0400 Received: by mail-wm1-f68.google.com with SMTP id e26so1925761wme.5 for ; Tue, 10 Mar 2020 08:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I14fiRytJUELoaKXOIcZxdSz3/LwiiAblB6a4UaXMhU=; b=HEQD6we/080o24w+LzppQn27ScpblwhD8jACOK9fACkhAUxpzm0Dla6f7J7p8SV+Pl ztMZ5urWzy6wuvsY8OAE+VR2N6w5Ly3p0gdaHnAkEpKWuj030bM5e0O1gdDtPgA9kweW s0sSYueLSFPMuSHaWIaKixCeW6zPJWWproT01rzsuK4A+6xCZmM9MfnLFe9Y38x29G6A IiulT9P0W1IUCTUEDWC28EPogOJvpGYeNA/5avEF/Vv8yNSxbEbh6JNsyx07aUa2zgCq nMf4aTGr5dFqtsNBpLXVCArQvuijIZr6NQ+ZAW2mfDK/ogNhpYVsduE3rGx2RxwClGAZ NtPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I14fiRytJUELoaKXOIcZxdSz3/LwiiAblB6a4UaXMhU=; b=MX6WctI3u/mxip9CrbqSrsYmjmN5UaPgEXrjrs/zK8dHXripotpSEfOT5i+YakNUts JAevp9lmoNS2hZf4kjU4darU1yuVBm0H3ho/eJnKCnZmXkZNb9h7T/Z2fapRBBKrUZGU OHOWzwONMnteJqhvVIlCciJJpAVIChzLbpkByyriF0zSO53PapQFmyUqIIyfn9IxsRih /a46tUROeVZuBFPlpGWde0pPc2fWL//LwixpKnIh0d2nMk+XUvq1yc90wwdEJNffuT9u AmfIkcd2U/K8GEzPRzZh5KfYRdV6gbfsylsQzzfmlSQSUAl7FQffbjbCA8E3wpnwpFcY /Qsw== X-Gm-Message-State: ANhLgQ0SHOBTsnxlwNdRF6TlTrq/LSpcUPe0X8ef2bFSrfeBjzmthjEl 4qmlKHJiJetDpi3IOGtM+XAl5Id7cSw= X-Google-Smtp-Source: ADFU+vvDpcP1R5bjkbKHEjDVLv9x3ITuKs76iLYri0Cbl31Y8QmQBVMjYYQHBiV4W+sbmEcpMO2YUg== X-Received: by 2002:a1c:2d86:: with SMTP id t128mr2909255wmt.38.1583855351324; Tue, 10 Mar 2020 08:49:11 -0700 (PDT) Received: from localhost (jirka.pirko.cz. [84.16.102.26]) by smtp.gmail.com with ESMTPSA id i6sm1649572wru.40.2020.03.10.08.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 08:49:10 -0700 (PDT) From: Jiri Pirko To: netdev@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, saeedm@mellanox.com, pablo@netfilter.org, ecree@solarflare.com Subject: [patch net-next 0/3] flow_offload: follow-ups to HW stats type patchset Date: Tue, 10 Mar 2020 16:49:06 +0100 Message-Id: <20200310154909.3970-1-jiri@resnulli.us> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset includes couple of patches in reaction to the discussions to the original HW stats patchset. The first patch is a fix, the other two patches are basically cosmetics. Jiri Pirko (3): flow_offload: fix allowed types check flow_offload: turn hw_stats_type into dedicated enum flow_offload: restrict driver to pass one allowed bit to flow_action_hw_stats_types_check() .../net/ethernet/mellanox/mlx5/core/en_tc.c | 4 +- include/net/flow_offload.h | 46 +++++++++++++------ 2 files changed, 35 insertions(+), 15 deletions(-) -- 2.21.1