From patchwork Fri Mar 12 11:59:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 1451942 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=netronome-com.20150623.gappssmtp.com header.i=@netronome-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=1PTzZdb1; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dxkrb3qyzz9sSC for ; Fri, 12 Mar 2021 22:59:43 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9884C6F9BC; Fri, 12 Mar 2021 11:59:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lruZf8HcGeTh; Fri, 12 Mar 2021 11:59:39 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTP id CB76D60676; Fri, 12 Mar 2021 11:59:38 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 927C8C000A; Fri, 12 Mar 2021 11:59:38 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id D9EFFC0001 for ; Fri, 12 Mar 2021 11:59:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B199060679 for ; Fri, 12 Mar 2021 11:59:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jWx_iTQGp8Kv for ; Fri, 12 Mar 2021 11:59:36 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by smtp3.osuosl.org (Postfix) with ESMTPS id C3FD260676 for ; Fri, 12 Mar 2021 11:59:35 +0000 (UTC) Received: by mail-ej1-x62b.google.com with SMTP id mj10so52830223ejb.5 for ; Fri, 12 Mar 2021 03:59:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Dk8A02KcaVfbK7ORI5zw9jsVUDAHlq43Nwad2X+WC9Y=; b=1PTzZdb1UmI6rDn2XeJmESNN8tFfVkbO4NZagWJfobV74IRlp4y7eernsPidKU8fN1 0uMKXOc7uMjAkAN2omrlsr+y5gsp47LG3o5efr0BBxI4lwzEO8LZZwxhoLrvZE9a8cg1 pB1S6X9pk3gInmGaqbSpF228liQ/N8tz42SzT9Y7q202urBdgp2vzuCRGAdprgBjDKJw xA52tzCw7Oq3ci2JRBceaGKBVu3Jg3el06P8UvOA6SS7FrBgDzIT4i1+GIfs8pYkxJef nFZuUFwRCQUSiB6Z5yqEXDeMgCwd6ksZV9Ws+FX0MEdzVkcNvH4YmNxsZUOWJ+eoGEyj MULg== 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=Dk8A02KcaVfbK7ORI5zw9jsVUDAHlq43Nwad2X+WC9Y=; b=W41YGwlHh5qoKKvfAEofAXz7NzuXfaBltlbjZTTiCLP9WRArYbW5r2C1WQHU8eDuIc fcZu0fJMU5WV9DINYEQcXcPfsrb72qZtNCpPltdFNR5e52ZxTaXghoWfiAA554Q75Gr6 XI7Fjpy/cbCwCCJSVKHLO1tXbZ63qrfF+1i2dIbE5+sulnnbPLG8vySHw1USTs+77ZYU Z6puax1Pif6rwLTa0GzQR2CPpBfkd68PZ3IPDaxlBlJVrcJoN2EXG+wUMLq3XWTMlBZi iRUCn7rcqiekq1Q63ZsbiCPY5Lvo1FcoxBThRPeg/4f4iaEteFEr6ZMH/2E4ISYK6o0v 9ujA== X-Gm-Message-State: AOAM532qRQpVzNMTXn9r3ZFtZtt4zBTIRzpgBtEi+QCNEpqnCOpquRng zLV1bb/nNv0FZOXgQB3KKt8KbOphBktgyQ/9MgrGWXzCSKqWHo4MedI6oaciw1RdwslUtStxf+x XLk3D+fWM/enDgqp1kJpYJIOG2CSSt4GJCHwXSZapBVlfe1SRs5tIevPlAUuhx1M7Zzlzt54XTQ == X-Google-Smtp-Source: ABdhPJxTa7VEsy1vgr89lmmysmkZaHPKU1eyccK2hPNSp6znlbJqD+YL5ItsXC5bFGP9xHs/+rNF/w== X-Received: by 2002:a17:906:f891:: with SMTP id lg17mr8200674ejb.69.1615550373598; Fri, 12 Mar 2021 03:59:33 -0800 (PST) Received: from madeliefje.horms.nl ([2001:982:7ed1:403:9eeb:e8ff:fe0d:5b6a]) by smtp.gmail.com with ESMTPSA id r17sm2857401edx.1.2021.03.12.03.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 03:59:33 -0800 (PST) From: Simon Horman To: dev@openvswitch.org Date: Fri, 12 Mar 2021 12:59:15 +0100 Message-Id: <20210312115917.6838-1-simon.horman@netronome.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: oss-drivers@netronome.com, Simon Horman , Tianyu Yuan , "Yong . Xu" Subject: [ovs-dev] [PATCH v2 0/2] netdev-linux: correct unit of burst parameter X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Hi, this short series corrects the unit of the burst parameter used to configure TC policer actions in the case case where ingress rate limiting is configured when TC flow offload is enabled. Patch: 1/2 Change since v1: minor update to changelog Adds tests for the configuration of rate limiting. Patches 2/2 New in v2 Tianyu Yuan (1): testsuite: add test cases for ingress_policing parameters Yong.Xu (1): netdev-linux: correct unit of burst parameter lib/netdev-linux.c | 2 +- tests/ovs-vsctl.at | 58 ++++++++++++++++++++++++++++++++ tests/system-offloads-traffic.at | 47 ++++++++++++++++++++++++++ 3 files changed, 106 insertions(+), 1 deletion(-)