Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/126153/?format=api
http://patches.dpdk.org/api/patches/126153/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20230417105500.136798-2-songx.jiale@intel.com/", "project": { "id": 3, "url": "http://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20230417105500.136798-2-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20230417105500.136798-2-songx.jiale@intel.com", "date": "2023-04-17T10:54:59", "name": "[V2,1/2] test_plans/stats_checks: add a case", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "49ad3ec15d4b014151be5ffcf32adfc1c70e37d6", "submitter": { "id": 2352, "url": "http://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20230417105500.136798-2-songx.jiale@intel.com/mbox/", "series": [ { "id": 27731, "url": "http://patches.dpdk.org/api/series/27731/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=27731", "date": "2023-04-17T10:54:58", "name": "add a case to test pf negative xstats check", "version": 2, "mbox": "http://patches.dpdk.org/series/27731/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/126153/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/126153/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-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 3F71742966;\n\tMon, 17 Apr 2023 04:37:26 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 31C0241144;\n\tMon, 17 Apr 2023 04:37:26 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 58AD94021D\n for <dts@dpdk.org>; Mon, 17 Apr 2023 04:37:24 +0200 (CEST)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Apr 2023 19:37:23 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.96])\n by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Apr 2023 19:37:22 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1681699044; x=1713235044;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=BfvTr5HnJLmyVn+rVxKjyhM9/PCI4FQ1P6ynRjGZ5dc=;\n b=KYUAS7wJH10TVBqYKOeQcFSRQPXmM1NQvv3J0KHsb7W4mD8HACJcP68e\n RqpNV9WTndcVoNN3qBtPPWkakxyJHlPIkGqZwaLDRZmKRgXd3Qnawl/bv\n rzu3fKRkJMTWTk22YDm7Uz35fogOQM0agGZ/4q+r6QK4cTLdau61S5cJZ\n HezUqJjgbkL896a004TZ8I01Y0HnbaIuIAArrEI/3uRS1a6z9555GMI+z\n TjwHmwSZp9G6zfP4MFZC7Mq9LESowFVfVLPAOD5W719UZgdTeHVCZQFwh\n UGGeEdFasnQJLZpkAFQWEwHvYpqDyiBChmXdnvGOA9VJ5ffN9WitLNDAi w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10682\"; a=\"325133939\"", "E=Sophos;i=\"5.99,203,1677571200\"; d=\"scan'208\";a=\"325133939\"", "E=McAfee;i=\"6600,9927,10682\"; a=\"640795763\"", "E=Sophos;i=\"5.99,203,1677571200\"; d=\"scan'208\";a=\"640795763\"" ], "X-ExtLoop1": "1", "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Subject": "[dts] [V2 1/2] test_plans/stats_checks: add a case", "Date": "Mon, 17 Apr 2023 10:54:59 +0000", "Message-Id": "<20230417105500.136798-2-songx.jiale@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230417105500.136798-1-songx.jiale@intel.com>", "References": "<20230417105500.136798-1-songx.jiale@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "add a case to test pf negative xstats check.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/stats_checks_test_plan.rst | 139 ++++++++++++++++++++++++++\n 1 file changed, 139 insertions(+)", "diff": "diff --git a/test_plans/stats_checks_test_plan.rst b/test_plans/stats_checks_test_plan.rst\nindex 1b7d722f..e65dc1a1 100644\n--- a/test_plans/stats_checks_test_plan.rst\n+++ b/test_plans/stats_checks_test_plan.rst\n@@ -281,3 +281,142 @@ Test Case: VF xstats Checks\n \n 3. Then run the same steps of PF xstats Checks, get same result.\n note: because one port forwarding packets, so check rx and tx both in port 0.\n+\n+Test Case: PF negative xstats check\n+===================================\n+1. Blind the PF to vfio-pci::\n+\n+ ./usertools/dpdk-devbind.py -b vfio-pci {pf_pci}\n+\n+2. Launch testpmd with default mtu::\n+\n+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i --rxq=4 --txq=4\n+ testpmd> set fwd mac\n+ testpmd> start\n+ testpmd> clear port xstats all\n+\n+3. Set the mtu for the port where the data packet is sent::\n+\n+ ifconfig ens7 mtu 5018\n+\n+4. Send jumbo frames::\n+\n+ sendp(Ether(dst=\"00:00:00:00:01:00\", src=\"52:00:00:00:00:00\")/IP()/Raw(load=\"X\"*4980), iface=\"ens7\")\n+\n+5. Check port 0 xstats::\n+\n+ Check rx port can not receive packet.\n+ Check ``rx_errors`` and ``rx_oversize_errors`` increased, but other statistics are 0 for tx port.\n+ testpmd> show port xstats 0\n+ ###### NIC extended statistics for port 0\n+ rx_good_packets: 0\n+ tx_good_packets: 0\n+ rx_good_bytes: 0\n+ tx_good_bytes: 0\n+ rx_missed_errors: 0\n+ rx_errors: 1\n+ tx_errors: 0\n+ rx_mbuf_allocation_errors: 0\n+ rx_q0_packets: 0\n+ rx_q0_bytes: 0\n+ rx_q0_errors: 0\n+ tx_q0_packets: 0\n+ tx_q0_bytes: 0\n+ rx_unicast_packets: 0\n+ rx_multicast_packets: 0\n+ rx_broadcast_packets: 0\n+ rx_dropped_packets: 0\n+ rx_unknown_protocol_packets: 0\n+ tx_unicast_packets: 0\n+ tx_multicast_packets: 0\n+ tx_broadcast_packets: 0\n+ tx_dropped_packets: 0\n+ tx_link_down_dropped: 0\n+ rx_crc_errors: 0\n+ rx_illegal_byte_errors: 0\n+ rx_error_bytes: 0\n+ mac_local_errors: 0\n+ mac_remote_errors: 0\n+ rx_len_errors: 0\n+ tx_xon_packets: 0\n+ rx_xon_packets: 0\n+ tx_xoff_packets: 0\n+ rx_xoff_packets: 0\n+ rx_size_64_packets: 0\n+ rx_size_65_to_127_packets: 0\n+ rx_size_128_to_255_packets: 0\n+ rx_size_256_to_511_packets: 0\n+ rx_size_512_to_1023_packets: 0\n+ rx_size_1024_to_1522_packets: 0\n+ rx_size_1523_to_max_packets: 0\n+ rx_undersized_errors: 0\n+ rx_oversize_errors: 1\n+ rx_mac_short_pkt_dropped: 0\n+ rx_fragmented_errors: 0\n+ rx_jabber_errors: 0\n+ tx_size_64_packets: 0\n+ tx_size_65_to_127_packets: 0\n+ tx_size_128_to_255_packets: 0\n+ tx_size_256_to_511_packets: 0\n+ tx_size_512_to_1023_packets: 0\n+ tx_size_1024_to_1522_packets: 0\n+ tx_size_1523_to_max_packets: 0\n+\n+6. Check port 1 xstats::\n+\n+ Check all statistics are 0 for tx port.\n+ testpmd> show port xstats 1\n+ ###### NIC extended statistics for port 1\n+ rx_good_packets: 0\n+ tx_good_packets: 0\n+ rx_good_bytes: 0\n+ tx_good_bytes: 0\n+ rx_missed_errors: 0\n+ rx_errors: 0\n+ tx_errors: 0\n+ rx_mbuf_allocation_errors: 0\n+ rx_q0_packets: 0\n+ rx_q0_bytes: 0\n+ rx_q0_errors: 0\n+ tx_q0_packets: 0\n+ tx_q0_bytes: 0\n+ rx_unicast_packets: 0\n+ rx_multicast_packets: 0\n+ rx_broadcast_packets: 0\n+ rx_dropped_packets: 0\n+ rx_unknown_protocol_packets: 0\n+ tx_unicast_packets: 0\n+ tx_multicast_packets: 0\n+ tx_broadcast_packets: 0\n+ tx_dropped_packets: 0\n+ tx_link_down_dropped: 0\n+ rx_crc_errors: 0\n+ rx_illegal_byte_errors: 0\n+ rx_error_bytes: 0\n+ mac_local_errors: 0\n+ mac_remote_errors: 0\n+ rx_len_errors: 0\n+ tx_xon_packets: 0\n+ rx_xon_packets: 0\n+ tx_xoff_packets: 0\n+ rx_xoff_packets: 0\n+ rx_size_64_packets: 0\n+ rx_size_65_to_127_packets: 0\n+ rx_size_128_to_255_packets: 0\n+ rx_size_256_to_511_packets: 0\n+ rx_size_512_to_1023_packets: 0\n+ rx_size_1024_to_1522_packets: 0\n+ rx_size_1523_to_max_packets: 0\n+ rx_undersized_errors: 0\n+ rx_oversize_errors: 0\n+ rx_mac_short_pkt_dropped: 0\n+ rx_fragmented_errors: 0\n+ rx_jabber_errors: 0\n+ tx_size_64_packets: 0\n+ tx_size_65_to_127_packets: 0\n+ tx_size_128_to_255_packets: 0\n+ tx_size_256_to_511_packets: 0\n+ tx_size_512_to_1023_packets: 0\n+ tx_size_1024_to_1522_packets: 0\n+ tx_size_1523_to_max_packets: 0\n+\n", "prefixes": [ "V2", "1/2" ] }{ "id": 126153, "url": "