Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/8071/?format=api
https://patches.dpdk.org/api/patches/8071/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1445950311-20497-7-git-send-email-konstantin.ananyev@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": "<1445950311-20497-7-git-send-email-konstantin.ananyev@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1445950311-20497-7-git-send-email-konstantin.ananyev@intel.com", "date": "2015-10-27T12:51:48", "name": "[dpdk-dev,PATCHv7,6/9] cxgbe: add HW specific desc_lim data into dev_info", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d3f14f7896fa0c3d394793a457dc37c8b96973cd", "submitter": { "id": 33, "url": "https://patches.dpdk.org/api/people/33/?format=api", "name": "Ananyev, Konstantin", "email": "konstantin.ananyev@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1445950311-20497-7-git-send-email-konstantin.ananyev@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/8071/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/8071/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 E0B4C8DED;\n\tTue, 27 Oct 2015 13:52:29 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 886CB8D9D\n\tfor <dev@dpdk.org>; Tue, 27 Oct 2015 13:52:23 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga103.jf.intel.com with ESMTP; 27 Oct 2015 05:52:23 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga001.fm.intel.com with ESMTP; 27 Oct 2015 05:52:19 -0700", "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt9RCqIbo028741; Tue, 27 Oct 2015 12:52:18 GMT", "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t9RCqI4Z020594;\n\tTue, 27 Oct 2015 12:52:18 GMT", "(from kananye1@localhost)\n\tby sivswdev02.ir.intel.com with id t9RCqI5d020590;\n\tTue, 27 Oct 2015 12:52:18 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.20,205,1444719600\"; d=\"scan'208\";a=\"820471452\"", "From": "Konstantin Ananyev <konstantin.ananyev@intel.com>", "To": "dev@dpdk.org", "Date": "Tue, 27 Oct 2015 12:51:48 +0000", "Message-Id": "<1445950311-20497-7-git-send-email-konstantin.ananyev@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": [ "<1445950311-20497-1-git-send-email-konstantin.ananyev@intel.com>", "<1445515592-25920-2-git-send-email-konstantin.ananyev@intel.com>" ], "References": [ "<1445950311-20497-1-git-send-email-konstantin.ananyev@intel.com>", "<1445515592-25920-2-git-send-email-konstantin.ananyev@intel.com>" ], "Subject": "[dpdk-dev] [PATCHv7 6/9] cxgbe: add HW specific desc_lim data into\n\tdev_info", "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": "Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n drivers/net/cxgbe/cxgbe_ethdev.c | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c\nindex a8e057b..920e071 100644\n--- a/drivers/net/cxgbe/cxgbe_ethdev.c\n+++ b/drivers/net/cxgbe/cxgbe_ethdev.c\n@@ -141,6 +141,12 @@ static void cxgbe_dev_info_get(struct rte_eth_dev *eth_dev,\n \tstruct adapter *adapter = pi->adapter;\n \tint max_queues = adapter->sge.max_ethqsets / adapter->params.nports;\n \n+\tstatic const struct rte_eth_desc_lim cxgbe_desc_lim = {\n+\t\t.nb_max = CXGBE_MAX_RING_DESC_SIZE,\n+\t\t.nb_min = CXGBE_MIN_RING_DESC_SIZE,\n+\t\t.nb_align = 1,\n+\t};\n+\n \tdevice_info->min_rx_bufsize = CXGBE_MIN_RX_BUFSIZE;\n \tdevice_info->max_rx_pktlen = CXGBE_MAX_RX_PKTLEN;\n \tdevice_info->max_rx_queues = max_queues;\n@@ -162,6 +168,9 @@ static void cxgbe_dev_info_get(struct rte_eth_dev *eth_dev,\n \t\t\t\t DEV_TX_OFFLOAD_TCP_TSO;\n \n \tdevice_info->reta_size = pi->rss_size;\n+\n+\tdevice_info->rx_desc_lim = cxgbe_desc_lim;\n+\tdevice_info->tx_desc_lim = cxgbe_desc_lim;\n }\n \n static void cxgbe_dev_promiscuous_enable(struct rte_eth_dev *eth_dev)\n", "prefixes": [ "dpdk-dev", "PATCHv7", "6/9" ] }{ "id": 8071, "url": "