Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2423/?format=api
https://patches.dpdk.org/api/patches/2423/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421829050-9620-1-git-send-email-jingjing.wu@intel.com/", "project": { "id": 1, "url": "https://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": "<1421829050-9620-1-git-send-email-jingjing.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1421829050-9620-1-git-send-email-jingjing.wu@intel.com", "date": "2015-01-21T08:30:50", "name": "[dpdk-dev] doc: commands changed in testpmd_funcs for ethertype filter", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e640128e60503317e7fcf0965400da44ea23c3f0", "submitter": { "id": 47, "url": "https://patches.dpdk.org/api/people/47/?format=api", "name": "Jingjing Wu", "email": "jingjing.wu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421829050-9620-1-git-send-email-jingjing.wu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/2423/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/2423/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 9E05F5A31;\n\tWed, 21 Jan 2015 09:30:59 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 366C05A1F\n\tfor <dev@dpdk.org>; Wed, 21 Jan 2015 09:30:58 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP; 21 Jan 2015 00:25:15 -0800", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 21 Jan 2015 00:30:56 -0800", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t0L8UsB3007698;\n\tWed, 21 Jan 2015 16:30:54 +0800", "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t0L8UpsW009654; Wed, 21 Jan 2015 16:30:53 +0800", "(from wujingji@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0L8UpDb009650; \n\tWed, 21 Jan 2015 16:30:51 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.09,440,1418112000\"; d=\"scan'208\";a=\"654149328\"", "From": "Jingjing Wu <jingjing.wu@intel.com>", "To": "dev@dpdk.org", "Date": "Wed, 21 Jan 2015 16:30:50 +0800", "Message-Id": "<1421829050-9620-1-git-send-email-jingjing.wu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "Subject": "[dpdk-dev] [PATCH] doc: commands changed in testpmd_funcs for\n\tethertype filter", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "new commands for ethertype filter\n - ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr)\n (mac_address) ethertype (ether_type) (drop|fwd) queue (queue_id)\n\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 46 +++++++----------------------\n 1 file changed, 11 insertions(+), 35 deletions(-)", "diff": "diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex be935c2..61a7f6d 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -1397,56 +1397,32 @@ add_ethertype_filter\n \n Add a L2 Ethertype filter, which identify packets by their L2 Ethertype mainly assign them to a receive queue.\n \n-add_ethertype_filter (port_id) ethertype (eth_value) priority (enable|disable) (pri_value) queue (queue_id) index (idx)\n+ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr) (mac_address) ethertype (ether_type) (drop|fwd) queue (queue_id)\n \n The available information parameters are:\n \n * port_id: the port which the Ethertype filter assigned on.\n \n-* eth_value: the EtherType value want to match,\n- for example 0x0806 for ARP packet. 0x0800 (IPv4) and 0x86DD (IPv6) are invalid.\n-\n-* enable: user priority participates in the match.\n-\n-* disable: user priority doesn't participate in the match.\n-\n-* pri_value: user priority value that want to match.\n-\n-* queue_id : The receive queue associated with this EtherType filter\n+* mac_addr: need compare destination mac address.\n \n-* index: the index of this EtherType filter\n-\n-Example:\n-\n-.. code-block:: console\n+* mac_ignr: ignore destination mac address match.\n \n- testpmd> add_ethertype_filter 0 ethertype 0x0806 priority disable 0 queue 3 index 0\n- Assign ARP packet to receive queue 3\n+* mac_address: destination mac address need to match.\n \n-remove_ethertype_filter\n-~~~~~~~~~~~~~~~~~~~~~~~\n-\n-Remove a L2 Ethertype filter\n-\n-remove_ethertype_filter (port_id) index (idx)\n-\n-get_ethertype_filter\n-~~~~~~~~~~~~~~~~~~~~\n-\n-Get and display a L2 Ethertype filter\n+* ether_type: the EtherType value want to match,\n+ for example 0x0806 for ARP packet. 0x0800 (IPv4) and 0x86DD (IPv6) are invalid.\n \n-get_ethertype_filter (port_id) index (idx)\n+* queue_id : The receive queue associated with this EtherType filter. It is meaningless when deleting or dropping.\n \n Example:\n \n .. code-block:: console\n \n- testpmd> get_ethertype_filter 0 index 0\n+ testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 3\n+ add a rule to assign ARP packet to receive queue 3\n \n- filter[0]:\n- ethertype: 0x0806\n- priority: disable, 0\n- queue: 3\n+\ttestpmd> ethertype_filter 0 del mac_ignr ethertype 0x0806 fwd queue 3\n+ delete the rule to assign ARP packet to receive queue 3\n \n add_2tuple_filter\n ~~~~~~~~~~~~~~~~~\n", "prefixes": [ "dpdk-dev" ] }{ "id": 2423, "url": "