Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/49870/?format=api
https://patches.dpdk.org/api/patches/49870/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1547614920-59680-2-git-send-email-wei.zhao1@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": "<1547614920-59680-2-git-send-email-wei.zhao1@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1547614920-59680-2-git-send-email-wei.zhao1@intel.com", "date": "2019-01-16T05:01:58", "name": "[v2,1/3] net/ixgbe: promiscuous mode enable on VF", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "75cb47c7c58ba11d8de66d53fb1cfdddbcd090ab", "submitter": { "id": 495, "url": "https://patches.dpdk.org/api/people/495/?format=api", "name": "Zhao1, Wei", "email": "wei.zhao1@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1547614920-59680-2-git-send-email-wei.zhao1@intel.com/mbox/", "series": [ { "id": 3206, "url": "https://patches.dpdk.org/api/series/3206/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3206", "date": "2019-01-16T05:01:57", "name": "net/ixgbe: promiscuous mode enable on VF", "version": 2, "mbox": "https://patches.dpdk.org/series/3206/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/49870/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/49870/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3613F2965;\n\tWed, 16 Jan 2019 06:27:45 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id F15592965;\n\tWed, 16 Jan 2019 06:27:43 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Jan 2019 21:27:42 -0800", "from dpdk6.bj.intel.com ([172.16.182.192])\n\tby orsmga005.jf.intel.com with ESMTP; 15 Jan 2019 21:27:41 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.56,484,1539673200\"; d=\"scan'208\";a=\"291901665\"", "From": "Wei Zhao <wei.zhao1@intel.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org, wenzhuo.lu@intel.com, qi.z.zhang@intel.com,\n\tWei Zhao <wei.zhao1@intel.com>", "Date": "Wed, 16 Jan 2019 13:01:58 +0800", "Message-Id": "<1547614920-59680-2-git-send-email-wei.zhao1@intel.com>", "X-Mailer": "git-send-email 2.7.5", "In-Reply-To": "<1547614920-59680-1-git-send-email-wei.zhao1@intel.com>", "References": "<1547613775-58027-1-git-send-email-wei.zhao1@intel.com>\n\t<1547614920-59680-1-git-send-email-wei.zhao1@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 1/3] net/ixgbe: promiscuous mode enable on VF", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "There is need to enable two ops of promiscuous_enable and\npromiscuous_disable on VF.\n\nFixes: af75078fece3 (\"first public release\")\n\nSigned-off-by: Wei Zhao <wei.zhao1@intel.com>\n---\n drivers/net/ixgbe/ixgbe_ethdev.c | 20 ++++++++++++++++++++\n 1 file changed, 20 insertions(+)", "diff": "diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c\nindex 91ba620..e8a2c6e 100644\n--- a/drivers/net/ixgbe/ixgbe_ethdev.c\n+++ b/drivers/net/ixgbe/ixgbe_ethdev.c\n@@ -260,6 +260,8 @@ static int ixgbevf_dev_rx_queue_intr_disable(struct rte_eth_dev *dev,\n static void ixgbevf_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,\n \t\t\t\t uint8_t queue, uint8_t msix_vector);\n static void ixgbevf_configure_msix(struct rte_eth_dev *dev);\n+static void ixgbevf_dev_promiscuous_enable(struct rte_eth_dev *dev);\n+static void ixgbevf_dev_promiscuous_disable(struct rte_eth_dev *dev);\n static void ixgbevf_dev_allmulticast_enable(struct rte_eth_dev *dev);\n static void ixgbevf_dev_allmulticast_disable(struct rte_eth_dev *dev);\n \n@@ -596,6 +598,8 @@ static const struct eth_dev_ops ixgbevf_eth_dev_ops = {\n \t.xstats_get_names = ixgbevf_dev_xstats_get_names,\n \t.dev_close = ixgbevf_dev_close,\n \t.dev_reset\t = ixgbevf_dev_reset,\n+\t.promiscuous_enable = ixgbevf_dev_promiscuous_enable,\n+\t.promiscuous_disable = ixgbevf_dev_promiscuous_disable,\n \t.allmulticast_enable = ixgbevf_dev_allmulticast_enable,\n \t.allmulticast_disable = ixgbevf_dev_allmulticast_disable,\n \t.dev_infos_get = ixgbevf_dev_info_get,\n@@ -8290,6 +8294,22 @@ ixgbe_dev_udp_tunnel_port_del(struct rte_eth_dev *dev,\n }\n \n static void\n+ixgbevf_dev_promiscuous_enable(struct rte_eth_dev *dev)\n+{\n+\tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\n+\thw->mac.ops.update_xcast_mode(hw, IXGBEVF_XCAST_MODE_PROMISC);\n+}\n+\n+static void\n+ixgbevf_dev_promiscuous_disable(struct rte_eth_dev *dev)\n+{\n+\tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\n+\thw->mac.ops.update_xcast_mode(hw, IXGBEVF_XCAST_MODE_NONE);\n+}\n+\n+static void\n ixgbevf_dev_allmulticast_enable(struct rte_eth_dev *dev)\n {\n \tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n", "prefixes": [ "v2", "1/3" ] }{ "id": 49870, "url": "