From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BB1D2A0A02; Thu, 14 Jan 2021 21:08:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D135140DA0; Thu, 14 Jan 2021 21:08:54 +0100 (CET) Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by mails.dpdk.org (Postfix) with ESMTP id F4135140D34 for ; Thu, 14 Jan 2021 21:08:53 +0100 (CET) Received: by mail-qv1-f53.google.com with SMTP id l14so2928545qvh.2 for ; Thu, 14 Jan 2021 12:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lyx8RFK5qqwGrHTDZYJ9yRSAg5vf9rEiDWm6iljX2ao=; b=DTVT24JUoU1eJL003oRnpDLxakBe84ycdO6AuZm8vDrdwm1OLMNBQRCAEAieQ//rfp /VcOM1VBNjZxGQU6CVUS696B6mIcOdlGNKGZXHSEinqNnqZr921PB2JMSwLg46Q//AM7 VGOBuSAMM6WojLuvhkgwEVn8JyoG350Kyr1To= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lyx8RFK5qqwGrHTDZYJ9yRSAg5vf9rEiDWm6iljX2ao=; b=A5ZndbYW8WasihrM+6Pt4qgEcFKmycvb5R5YOhIzC5p8tc3UeqcjHI5FGLPqUS1WLR ynu8Ww642HqRxBHoV76qU8s+4k2h9Q8q9jTM87ygNgg2ABMwDMrJH/EIV9fD/qtt7dLy 17+t8zb57ToVrdZf8J0KehjnZu9D5khNqEe2iWeUI04iKEUhRleJBuol+/XRjlgAea1+ AbtmKAcPaFv/Y6spYFL1SaEnIjfxhXt9ETwcP83dB0t6uniRu9VpDizl9SDzPAV88GC3 3Gnc8kjtfp2wGExrl+7eyu2QlkSPJ0gVgOcbaUV9lsoacNXCVHeuSMc8lx3fwHd3vdS8 NY8w== X-Gm-Message-State: AOAM532pLQH7BLCtqJhDi7cCH2kt5qn3tMz50DfXn0dSZGgm5xiT8ZrT l9YimZuiFglGVn3Mrsj47hzw7istaHA8o/J4DeDE9Q== X-Google-Smtp-Source: ABdhPJxHsWUhb+LIgKcYwFmUzGpjsjC/UC+etWdeUjxlfbM6mOupOFPaLsenPA07H/9KToEjt/4T7oryn0FWGi6Hdb0= X-Received: by 2002:ad4:4c50:: with SMTP id cs16mr8845250qvb.33.1610654933170; Thu, 14 Jan 2021 12:08:53 -0800 (PST) MIME-Version: 1.0 References: <1599118768-13265-1-git-send-email-shirik@nvidia.com> <1608123735-3662-1-git-send-email-shirik@nvidia.com> <1608123735-3662-3-git-send-email-shirik@nvidia.com> In-Reply-To: <1608123735-3662-3-git-send-email-shirik@nvidia.com> From: Ajit Khaparde Date: Thu, 14 Jan 2021 12:08:36 -0800 Message-ID: To: Shiri Kuzin Cc: dpdk-dev , Slava Ovsiienko , Adrien Mazarguil , Raslan Darawsheh Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002b81af05b8e1d33f" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [RFC v3 2/8] app/testpmd: add GENEVE option item support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --0000000000002b81af05b8e1d33f Content-Type: text/plain; charset="UTF-8" On Wed, Dec 16, 2020 at 5:03 AM Shiri Kuzin wrote: > > From: Viacheslav Ovsiienko > > The patch adds the GENEVE option rte flow item support to > command line interpreter. The flow command with GENEVE > option items looks like: > > flow create 0 ingress pattern eth / ipv4 / udp / geneve vni is 100 / > geneve-opt class is 99 length is 1 type is 0 data is 0x669988 / > end actions drop / end > > The option length should be specified in 32-bit words, this > value specifies the length of the data pattern/mask arrays (should be > multiplied by sizeof(uint32_t) to be expressed in bytes. If match > on the length itself is not needed the mask should be set to zero, in > this case length is used to specify the pattern/mask array lengths only. > > Signed-off-by: Viacheslav Ovsiienko > --- :::::[snip]::::: > +- ``geneve-opt``: match GENEVE header option. > + > + - ``class {unsigned}``: GENEVE option class. > + - ``type {unsigned}``: GENEVE option type. > + - ``length {unsigned}``: GENEVE option length in 32-bit words. > + - ``data {hex string}``: GENEVE option data, the legnt is defined by s/legnt/length > > + ``length`` field > + > - ``vxlan-gpe``: match VXLAN-GPE header. > > - ``vni {unsigned}``: VXLAN-GPE identifier. > -- > 1.8.3.1 > --0000000000002b81af05b8e1d33f--