Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2219490/?format=api
{ "id": 2219490, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2219490/?format=api", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/1.0/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260403054029.3789616-2-aleksandr.loktionov@intel.com>", "date": "2026-04-03T05:40:19", "name": "[iwl-net,1/10] ice: fix mirroring to VSI list", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "f6b4ed30624da5184f9d838e13f8e6ad59f71544", "submitter": { "id": 75597, "url": "http://patchwork.ozlabs.org/api/1.0/people/75597/?format=api", "name": "Loktionov, Aleksandr", "email": "aleksandr.loktionov@intel.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260403054029.3789616-2-aleksandr.loktionov@intel.com/mbox/", "series": [ { "id": 498590, "url": "http://patchwork.ozlabs.org/api/1.0/series/498590/?format=api", "date": "2026-04-03T05:40:19", "name": "ice: bug fixes -- no link, tc-flower, VF rate", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498590/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219490/checks/", "tags": {}, "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=1A1EYW62;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fn6yL317Zz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 16:40:40 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 3809240D51;\n\tFri, 3 Apr 2026 05:40:38 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id tyMexN92FrZ1; Fri, 3 Apr 2026 05:40:36 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 453C140BAA;\n\tFri, 3 Apr 2026 05:40:36 +0000 (UTC)", "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id 54C0C1F3\n for <intel-wired-lan@lists.osuosl.org>; Fri, 3 Apr 2026 05:40:34 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 4670B40BAA\n for <intel-wired-lan@lists.osuosl.org>; Fri, 3 Apr 2026 05:40:34 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id aKdgcQEz9hjg for <intel-wired-lan@lists.osuosl.org>;\n Fri, 3 Apr 2026 05:40:33 +0000 (UTC)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.20])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 9200B40B9C\n for <intel-wired-lan@lists.osuosl.org>; Fri, 3 Apr 2026 05:40:33 +0000 (UTC)", "from fmviesa007.fm.intel.com ([10.60.135.147])\n by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Apr 2026 22:40:33 -0700", "from amlin-019-225.igk.intel.com ([10.102.19.225])\n by fmviesa007.fm.intel.com with ESMTP; 02 Apr 2026 22:40:31 -0700" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 453C140BAA", "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9200B40B9C" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1775194836;\n\tbh=7MEu+KWN7s4FVH14KOLq8wfiUsXFRe5XZXMOOgKL3E8=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=1A1EYW62R2ymmYojN4ZZqdHO97lAWoIuM9UI07WAZm8Zsl+omVQcxaQwoSHxo1+ZE\n\t 8lXaX8Y+EUEa3nCy0rP2q5NVeaMuzdYCSoV7nPs/wvw+Li6b89wLi3ItAu0swJOXAV\n\t bzNThRVQ89G4KaV0jLQlx9LLzNIwXk8BbQ8zschKznbDSoU7FSsSIykzlp7VkWdHsm\n\t Q6ZWy1XtFRER2NKmVUkkBngB1mlbNsSgO76M3g+S7KwY8/MrMqVaCd8Vr+rxxW9J9S\n\t QDSIyrWGVWje/ubH0WQ7Ihi19Q37saXnlLpui4ehyyL5wzdEyNKNbgH93UkFKOptAQ\n\t f+LIaOwDH2mNQ==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.20;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org 9200B40B9C", "X-CSE-ConnectionGUID": [ "lAJmTqzAR161q7lvV6lOeQ==", "jbTBlcg1SAetYI2QwXajeg==" ], "X-CSE-MsgGUID": [ "hfJP2QSJTXemqVsiV9h8Sw==", "2xE0J/kwReG74IUN0Bb3lA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11747\"; a=\"75981738\"", "E=Sophos;i=\"6.23,157,1770624000\"; d=\"scan'208\";a=\"75981738\"", "E=Sophos;i=\"6.23,157,1770624000\"; d=\"scan'208\";a=\"223904913\"" ], "X-ExtLoop1": "1", "From": "Aleksandr Loktionov <aleksandr.loktionov@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com", "Cc": "netdev@vger.kernel.org, Michal Swiatkowski <michal.swiatkowski@intel.com>", "Date": "Fri, 3 Apr 2026 07:40:19 +0200", "Message-ID": "<20260403054029.3789616-2-aleksandr.loktionov@intel.com>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260403054029.3789616-1-aleksandr.loktionov@intel.com>", "References": "<20260403054029.3789616-1-aleksandr.loktionov@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1775194834; x=1806730834;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Vp8t693MvIq+MfKl2r5GIw4QU1Y/T0mo5MRMbiHbG4c=;\n b=Oeg0dGr8x6UD54v8Jmphnch08vfW1NWHgVAP5oy12WItv7JA1UhcMhJn\n NbWeb88q6hpCtn1R3xR0NSsmWdioXpjfqfQO5l16PZU7zW+Dt2vHCLlr6\n JSXbUvzn2N86JtS6fQ4FiT436UYJyRcFovQ4T+/E5nJL3CQPITlO4PDil\n Wi8ojwhJQafVigIn8mtrmXcYmznTe501KNaBTDjfatAypUX6u1JS2Et6o\n 2UUqxXc1EhRU1Gy/oqwi16lSfPt5mfohQZlNwkPJ74cOnENqavLWkJbsB\n lXduP8+hGwxDnvrj0qNLAFKRIM9ZIbhTwdECsKmXcwFWXIksSMSsUQ8kE\n A==;", "X-Mailman-Original-Authentication-Results": [ "smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com", "smtp4.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=Oeg0dGr8" ], "Subject": "[Intel-wired-lan] [PATCH iwl-net 1/10] ice: fix mirroring to VSI\n list", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "From: Michal Swiatkowski <michal.swiatkowski@intel.com>\n\nRules whose action can be \"to VSI list\" should have VSI count set to 1\nafter creation. There was a lack of it in case of mirroring action. Fix\nit by setting correct VSI count also for mirror rules.\n\nReproduction:\n tc filter add dev eth5 ingress protocol arp prio 6301 flower skip_sw \\\n dst_mac ff:ff:ff:ff:ff:ff action mirred egress mirror dev eth9\n tc filter add dev eth5 ingress protocol arp prio 6201 flower skip_sw \\\n dst_mac ff:ff:ff:ff:ff:ff action mirred egress mirror dev eth10\n\n tc filter del dev eth5 prio 6301 ingress\n\nThe last command removes the rule, but should only remove one VSI from\nthe forward list. Without the fix:\n\n tc filter del dev eth5 prio 6201 ingress\n\nresults in an error during removing the rule.\n\nFixes: aa4967d8529c (\"ice: Add support for packet mirroring using hardware in switchdev mode\")\nCc: stable@vger.kernel.org\nSigned-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice_switch.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c b/drivers/net/ethernet/intel/ice/ice_switch.c\nindex a3e93b1..d77c188 100644\n--- a/drivers/net/ethernet/intel/ice/ice_switch.c\n+++ b/drivers/net/ethernet/intel/ice/ice_switch.c\n@@ -7318,7 +7318,8 @@ ice_add_adv_rule(struct ice_hw *hw, struct ice_adv_lkup_elem *lkups,\n \tsw->recp_list[rid].adv_rule = true;\n \trule_head = &sw->recp_list[rid].filt_rules;\n \n-\tif (rinfo->sw_act.fltr_act == ICE_FWD_TO_VSI)\n+\tif (rinfo->sw_act.fltr_act == ICE_FWD_TO_VSI ||\n+\t rinfo->sw_act.fltr_act == ICE_MIRROR_PACKET)\n \t\tadv_fltr->vsi_count = 1;\n \n \t/* Add rule entry to book keeping list */\n", "prefixes": [ "iwl-net", "1/10" ] }