Cover Detail
Show a cover letter.
GET /api/covers/638/?format=api
http://patches.dpdk.org/api/covers/638/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20240213165737.1534180-1-cristian.dumitrescu@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20240213165737.1534180-1-cristian.dumitrescu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240213165737.1534180-1-cristian.dumitrescu@intel.com", "date": "2024-02-13T16:57:34", "name": "[0/3] pipeline: extend the IPv6 support", "submitter": { "id": 19, "url": "http://patches.dpdk.org/api/people/19/?format=api", "name": "Cristian Dumitrescu", "email": "cristian.dumitrescu@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20240213165737.1534180-1-cristian.dumitrescu@intel.com/mbox/", "series": [ { "id": 31092, "url": "http://patches.dpdk.org/api/series/31092/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31092", "date": "2024-02-13T16:57:36", "name": "pipeline: extend the IPv6 support", "version": 1, "mbox": "http://patches.dpdk.org/series/31092/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/638/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0F87343B0C;\n\tTue, 13 Feb 2024 17:59:05 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4A0B842E31;\n\tTue, 13 Feb 2024 17:58:52 +0100 (CET)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.17])\n by mails.dpdk.org (Postfix) with ESMTP id BC5C342E0C\n for <dev@dpdk.org>; Tue, 13 Feb 2024 17:58:47 +0100 (CET)", "from fmviesa007.fm.intel.com ([10.60.135.147])\n by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Feb 2024 08:57:39 -0800", "from silpixa00400573.ir.intel.com (HELO\n silpixa00400573.ger.corp.intel.com) ([10.237.223.184])\n by fmviesa007.fm.intel.com with ESMTP; 13 Feb 2024 08:57:38 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1707843528; x=1739379528;\n h=from:to:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=Fe/maaQjEtvk+0CpIen+yzo9YRZKeGy3PtmIZkzrgKg=;\n b=Qb7LpNzI28HnSnfeejPKDgdjYKLw5+Zr5uprQ5ri5ANoveqvvfvgRsR+\n ZymHcABu2CK8DIdG86oVPQWg9wc2b+et5jnYhe6o5JeMqge4VULweQux8\n HxeBzNg+mwd/rIcxEZ5zvrhzGvSe7xR1ZfjRAxqdjCbod2n6A3MgVsgU2\n N42/TSL3oNrIoy6qjK/MWbq7fVcqRn5htoEFhOlb1Bnl0PBA5i6r60Q1g\n duo75iMK+21ST5RF+09p43o3SOBOBgZbNfkYkSVwoZGnv1DiSNMfl+8zr\n i86hxyvO1NTTpHFisz9IpMcuC6pGgErWvqGZE3GN6Kzp2C2X7No+6uWKl g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10982\"; a=\"2000497\"", "E=Sophos;i=\"6.06,157,1705392000\";\n d=\"scan'208\";a=\"2000497\"", "E=Sophos;i=\"6.06,157,1705392000\";\n d=\"scan'208\";a=\"2855751\"" ], "X-ExtLoop1": "1", "From": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>", "To": "dev@dpdk.org", "Subject": "[PATCH 0/3] pipeline: extend the IPv6 support", "Date": "Tue, 13 Feb 2024 16:57:34 +0000", "Message-Id": "<20240213165737.1534180-1-cristian.dumitrescu@intel.com>", "X-Mailer": "git-send-email 2.34.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "So far, the pipeline supports the following operations on IPv6 addresses:\n-using an IPv6 address as a table match field of exact/ternary/LPM match type\n-assignment of IPv6 address to another IPv6 address\n-conversion between an IPv4 address and an IPv6 address\n\nThe reason for this limited support is the fact that CPUs have 64-bit registers,\nso supporting operations on 128-bit variables requires additional logic.\n\nWe are now adding support for the following operations involving IPv6 addresses:\n-logic operations: AND, OR, XOR\n-shift left/right\n-equality/inequality tests\n\nThe way we do this is by introducing a new instruction (called \"movh\") to read\nand write the upper half of a 128-bit operand and optimizing the existing\ninstruction (called \"mov\"). This way, we can split an IPv6 address into its\nupper half and lower half and use the existing 64-bit instructions to handle the\nrequired operations.\n\nWe are still not supporting the following operations on IPv6 addresses, as they\nseem of very little practical use: addition, subtraction, multiplication and\ndivision.\n\nCristian Dumitrescu (3):\n pipeline: add new instruction for upper half of IPv6 address\n pipeline: optimize conversion between IPv4 and IPv6 addresses\n examples/pipeline: add example for IPv6 address swap\n\n examples/pipeline/examples/ipv6_addr_swap.cli | 35 ++++\n .../pipeline/examples/ipv6_addr_swap.spec | 83 ++++++++++\n lib/pipeline/rte_swx_pipeline.c | 155 ++++++++++++++++++\n lib/pipeline/rte_swx_pipeline_internal.h | 104 +++++++++++-\n 4 files changed, 373 insertions(+), 4 deletions(-)\n create mode 100644 examples/pipeline/examples/ipv6_addr_swap.cli\n create mode 100644 examples/pipeline/examples/ipv6_addr_swap.spec" }{ "id": 638, "url": "