Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/12015/?format=api
http://patches.dpdk.org/api/patches/12015/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1460397286-237581-1-git-send-email-jasvinder.singh@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": "<1460397286-237581-1-git-send-email-jasvinder.singh@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1460397286-237581-1-git-send-email-jasvinder.singh@intel.com", "date": "2016-04-11T17:54:46", "name": "[dpdk-dev] librte_port: fix the bsz_mask variable type", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2a65b0350d3419cc11923e846f3774266bd29aa8", "submitter": { "id": 285, "url": "http://patches.dpdk.org/api/people/285/?format=api", "name": "Jasvinder Singh", "email": "jasvinder.singh@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1460397286-237581-1-git-send-email-jasvinder.singh@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/12015/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/12015/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 DCCA62BCE;\n\tMon, 11 Apr 2016 19:48:25 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 620A2B62\n\tfor <dev@dpdk.org>; Mon, 11 Apr 2016 19:48:24 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga104.fm.intel.com with ESMTP; 11 Apr 2016 10:48:23 -0700", "from sie-lab-212-251.ir.intel.com (HELO\n\tsilpixa00381635.ir.intel.com) ([10.237.212.251])\n\tby fmsmga004.fm.intel.com with ESMTP; 11 Apr 2016 10:48:23 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.24,462,1455004800\"; d=\"scan'208\";a=\"83164091\"", "From": "Jasvinder Singh <jasvinder.singh@intel.com>", "To": "dev@dpdk.org", "Cc": "cristian.dumitrescu@intel.com", "Date": "Mon, 11 Apr 2016 18:54:46 +0100", "Message-Id": "<1460397286-237581-1-git-send-email-jasvinder.singh@intel.com>", "X-Mailer": "git-send-email 2.5.5", "Subject": "[dpdk-dev] [PATCH] librte_port: fix the bsz_mask variable type", "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": "Fixes the variable bsz_mask type form unit32_t to unit64_t\n\nFixes: 4d97e8b565cc (\"port: ethdev\")\nFixes: 304c8091e90a (\"port: add ethdev writer nodrop\")\nFixes: 8dceb6aa6ecf (\"port: hierarchical scheduler\")\nFixes: 3e5966837a09 (\"port: new Tx burst implementation of ring writer\")\nFixes: 5f4cd47309d6 (\"port: add ring writer nodrop\")\n\nSigned-off-by: Jasvinder Singh <jasvinder.singh@intel.com>\nAcked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n---\n lib/librte_port/rte_port_ethdev.c | 4 ++--\n lib/librte_port/rte_port_ring.c | 4 ++--\n lib/librte_port/rte_port_sched.c | 2 +-\n 3 files changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/lib/librte_port/rte_port_ethdev.c b/lib/librte_port/rte_port_ethdev.c\nindex 1c34602..73e5f18 100644\n--- a/lib/librte_port/rte_port_ethdev.c\n+++ b/lib/librte_port/rte_port_ethdev.c\n@@ -229,7 +229,7 @@ rte_port_ethdev_writer_tx_bulk(void *port,\n {\n \tstruct rte_port_ethdev_writer *p =\n \t\t(struct rte_port_ethdev_writer *) port;\n-\tuint32_t bsz_mask = p->bsz_mask;\n+\tuint64_t bsz_mask = p->bsz_mask;\n \tuint32_t tx_buf_count = p->tx_buf_count;\n \tuint64_t expr = (pkts_mask & (pkts_mask + 1)) |\n \t\t\t((pkts_mask & bsz_mask) ^ bsz_mask);\n@@ -436,7 +436,7 @@ rte_port_ethdev_writer_nodrop_tx_bulk(void *port,\n \tstruct rte_port_ethdev_writer_nodrop *p =\n \t\t(struct rte_port_ethdev_writer_nodrop *) port;\n \n-\tuint32_t bsz_mask = p->bsz_mask;\n+\tuint64_t bsz_mask = p->bsz_mask;\n \tuint32_t tx_buf_count = p->tx_buf_count;\n \tuint64_t expr = (pkts_mask & (pkts_mask + 1)) |\n \t\t\t((pkts_mask & bsz_mask) ^ bsz_mask);\ndiff --git a/lib/librte_port/rte_port_ring.c b/lib/librte_port/rte_port_ring.c\nindex b847fea..d36e12d 100644\n--- a/lib/librte_port/rte_port_ring.c\n+++ b/lib/librte_port/rte_port_ring.c\n@@ -300,7 +300,7 @@ rte_port_ring_writer_tx_bulk_internal(void *port,\n \tstruct rte_port_ring_writer *p =\n \t\t(struct rte_port_ring_writer *) port;\n \n-\tuint32_t bsz_mask = p->bsz_mask;\n+\tuint64_t bsz_mask = p->bsz_mask;\n \tuint32_t tx_buf_count = p->tx_buf_count;\n \tuint64_t expr = (pkts_mask & (pkts_mask + 1)) |\n \t\t\t((pkts_mask & bsz_mask) ^ bsz_mask);\n@@ -614,7 +614,7 @@ rte_port_ring_writer_nodrop_tx_bulk_internal(void *port,\n \tstruct rte_port_ring_writer_nodrop *p =\n \t\t(struct rte_port_ring_writer_nodrop *) port;\n \n-\tuint32_t bsz_mask = p->bsz_mask;\n+\tuint64_t bsz_mask = p->bsz_mask;\n \tuint32_t tx_buf_count = p->tx_buf_count;\n \tuint64_t expr = (pkts_mask & (pkts_mask + 1)) |\n \t\t\t((pkts_mask & bsz_mask) ^ bsz_mask);\ndiff --git a/lib/librte_port/rte_port_sched.c b/lib/librte_port/rte_port_sched.c\nindex c5ff8ab..25217d6 100644\n--- a/lib/librte_port/rte_port_sched.c\n+++ b/lib/librte_port/rte_port_sched.c\n@@ -214,7 +214,7 @@ rte_port_sched_writer_tx_bulk(void *port,\n \t\tuint64_t pkts_mask)\n {\n \tstruct rte_port_sched_writer *p = (struct rte_port_sched_writer *) port;\n-\tuint32_t bsz_mask = p->bsz_mask;\n+\tuint64_t bsz_mask = p->bsz_mask;\n \tuint32_t tx_buf_count = p->tx_buf_count;\n \tuint64_t expr = (pkts_mask & (pkts_mask + 1)) |\n \t\t\t((pkts_mask & bsz_mask) ^ bsz_mask);\n", "prefixes": [ "dpdk-dev" ] }{ "id": 12015, "url": "