Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/17448/?format=api
http://patches.dpdk.org/api/patches/17448/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1480637533-37425-30-git-send-email-wenzhuo.lu@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": "<1480637533-37425-30-git-send-email-wenzhuo.lu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1480637533-37425-30-git-send-email-wenzhuo.lu@intel.com", "date": "2016-12-02T00:12:11", "name": "[dpdk-dev,29/31] net/i40e: parse more VF parameter and configure", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4d47d99f980740f999b4660a26761328046882ce", "submitter": { "id": 258, "url": "http://patches.dpdk.org/api/people/258/?format=api", "name": "Wenzhuo Lu", "email": "wenzhuo.lu@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1480637533-37425-30-git-send-email-wenzhuo.lu@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/17448/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/17448/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 60B5AFAC0;\n\tFri, 2 Dec 2016 09:22:23 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 83C8BFA3B\n\tfor <dev@dpdk.org>; Fri, 2 Dec 2016 09:21:43 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga104.fm.intel.com with ESMTP; 02 Dec 2016 00:21:43 -0800", "from dpdk26.sh.intel.com ([10.239.128.228])\n\tby orsmga001.jf.intel.com with ESMTP; 02 Dec 2016 00:21:42 -0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos; i=\"5.33,285,1477983600\"; d=\"scan'208\";\n\ta=\"1067004208\"", "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "To": "dev@dpdk.org", "Cc": "\"Chen Jing D(Mark)\" <jing.d.chen@intel.com>", "Date": "Thu, 1 Dec 2016 19:12:11 -0500", "Message-Id": "<1480637533-37425-30-git-send-email-wenzhuo.lu@intel.com>", "X-Mailer": "git-send-email 1.9.3", "In-Reply-To": "<1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com>", "References": "<1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com>", "Subject": "[dpdk-dev] [PATCH 29/31] net/i40e: parse more VF parameter and\n\tconfigure", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <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": "When VF requested to configure TX queue, a few parameters are\nmissed to be configured in PF host. This change have more\nfields parsed and configured for TX context.\n\nSigned-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>\n---\n drivers/net/i40e/i40e_pf.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c\nindex 8319c2c..1ad5ed1 100644\n--- a/drivers/net/i40e/i40e_pf.c\n+++ b/drivers/net/i40e/i40e_pf.c\n@@ -422,10 +422,12 @@\n \n \t/* clear the context structure first */\n \tmemset(&tx_ctx, 0, sizeof(tx_ctx));\n-\ttx_ctx.new_context = 1;\n \ttx_ctx.base = txq->dma_ring_addr / I40E_QUEUE_BASE_ADDR_UNIT;\n \ttx_ctx.qlen = txq->ring_len;\n \ttx_ctx.rdylist = rte_le_to_cpu_16(vf->vsi->info.qs_handle[0]);\n+\ttx_ctx.head_wb_ena = txq->headwb_enabled;\n+\ttx_ctx.head_wb_addr = txq->dma_headwb_addr;\n+\n \terr = i40e_clear_lan_tx_queue_context(hw, abs_queue_id);\n \tif (err != I40E_SUCCESS)\n \t\treturn err;\n", "prefixes": [ "dpdk-dev", "29/31" ] }{ "id": 17448, "url": "