get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/11711/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 11711,
    "url": "https://patches.dpdk.org/api/patches/11711/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1458886262-18685-1-git-send-email-wenzhuo.lu@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": "<1458886262-18685-1-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1458886262-18685-1-git-send-email-wenzhuo.lu@intel.com",
    "date": "2016-03-25T06:11:02",
    "name": "[dpdk-dev] ixgbe: support mac type x550em_a",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c29ca6eb6726c179bef7a55a4d055af32279d7c7",
    "submitter": {
        "id": 258,
        "url": "https://patches.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": {
        "id": 10,
        "url": "https://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1458886262-18685-1-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/11711/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/11711/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 2F7A937A6;\n\tFri, 25 Mar 2016 07:11:11 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 54959378B\n\tfor <dev@dpdk.org>; Fri, 25 Mar 2016 07:11:10 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga102.jf.intel.com with ESMTP; 24 Mar 2016 23:11:09 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 24 Mar 2016 23:11:08 -0700",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id u2P6B7A5018724;\n\tFri, 25 Mar 2016 14:11:07 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid u2P6B3fI018720; Fri, 25 Mar 2016 14:11:05 +0800",
            "(from wenzhuol@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u2P6B3G4018716; \n\tFri, 25 Mar 2016 14:11:03 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.24,388,1455004800\"; d=\"scan'208\";a=\"931421405\"",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "Date": "Fri, 25 Mar 2016 14:11:02 +0800",
        "Message-Id": "<1458886262-18685-1-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] ixgbe: support mac type x550em_a",
        "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": "On my side the development of l2 tunnel and e-tag features is being\ndone in paralell with the ixgbe base code update. So, l2 tunnel and\ne-tag are not supported on the new x550em_a NICs.\nNow all the code is ready, should extend the support to x550em_a\nNICs.\n\nFixes: 22e77d4501b8(\"ixgbe: support L2 tunnel operations\")\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/ixgbe/ixgbe_ethdev.c | 42 ++++++++++++++++++++++++++--------------\n 1 file changed, 28 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c\nindex d4d883a..5521b0f 100644\n--- a/drivers/net/ixgbe/ixgbe_ethdev.c\n+++ b/drivers/net/ixgbe/ixgbe_ethdev.c\n@@ -1788,7 +1788,8 @@ ixgbe_vlan_hw_extend_enable(struct rte_eth_dev *dev)\n \n \t/* Clear pooling mode of PFVTCTL. It's required by X550. */\n \tif (hw->mac.type == ixgbe_mac_X550 ||\n-\t    hw->mac.type == ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type == ixgbe_mac_X550EM_x ||\n+\t    hw->mac.type == ixgbe_mac_X550EM_a) {\n \t\tctrl = IXGBE_READ_REG(hw, IXGBE_VT_CTL);\n \t\tctrl &= ~IXGBE_VT_CTL_POOLING_MODE_MASK;\n \t\tIXGBE_WRITE_REG(hw, IXGBE_VT_CTL, ctrl);\n@@ -2885,7 +2886,8 @@ ixgbe_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \t\tdev_info->rx_offload_capa |= DEV_RX_OFFLOAD_TCP_LRO;\n \n \tif (hw->mac.type == ixgbe_mac_X550 ||\n-\t    hw->mac.type == ixgbe_mac_X550EM_x)\n+\t    hw->mac.type == ixgbe_mac_X550EM_x ||\n+\t    hw->mac.type == ixgbe_mac_X550EM_a)\n \t\tdev_info->rx_offload_capa |= DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM;\n \n \tdev_info->tx_offload_capa =\n@@ -2897,7 +2899,8 @@ ixgbe_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \t\tDEV_TX_OFFLOAD_TCP_TSO;\n \n \tif (hw->mac.type == ixgbe_mac_X550 ||\n-\t    hw->mac.type == ixgbe_mac_X550EM_x)\n+\t    hw->mac.type == ixgbe_mac_X550EM_x ||\n+\t    hw->mac.type == ixgbe_mac_X550EM_a)\n \t\tdev_info->tx_offload_capa |= DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM;\n \n \tdev_info->default_rxconf = (struct rte_eth_rxconf) {\n@@ -5000,7 +5003,8 @@ ixgbevf_set_default_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr)\n \n #define MAC_TYPE_FILTER_SUP(type)    do {\\\n \tif ((type) != ixgbe_mac_82599EB && (type) != ixgbe_mac_X540 &&\\\n-\t\t(type) != ixgbe_mac_X550)\\\n+\t\t(type) != ixgbe_mac_X550 && (type) != ixgbe_mac_X550EM_x &&\\\n+\t\t(type) != ixgbe_mac_X550EM_a)\\\n \t\treturn -ENOTSUP;\\\n } while (0)\n \n@@ -6327,7 +6331,8 @@ ixgbe_update_e_tag_eth_type(struct ixgbe_hw *hw,\n \tuint32_t etag_etype;\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6371,7 +6376,8 @@ ixgbe_e_tag_enable(struct ixgbe_hw *hw)\n \tuint32_t etag_etype;\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6411,7 +6417,8 @@ ixgbe_e_tag_disable(struct ixgbe_hw *hw)\n \tuint32_t etag_etype;\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6454,7 +6461,8 @@ ixgbe_e_tag_filter_del(struct rte_eth_dev *dev,\n \tuint32_t rar_low, rar_high;\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6489,7 +6497,8 @@ ixgbe_e_tag_filter_add(struct rte_eth_dev *dev,\n \tuint32_t rar_low, rar_high;\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6608,7 +6617,8 @@ ixgbe_e_tag_forwarding_en_dis(struct rte_eth_dev *dev, bool en)\n \tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6681,7 +6691,8 @@ ixgbe_e_tag_insertion_en_dis(struct rte_eth_dev *dev,\n \t}\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6751,7 +6762,8 @@ ixgbe_e_tag_stripping_en_dis(struct rte_eth_dev *dev,\n \tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6924,7 +6936,8 @@ ixgbe_dev_udp_tunnel_port_add(struct rte_eth_dev *dev,\n \tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n@@ -6960,7 +6973,8 @@ ixgbe_dev_udp_tunnel_port_del(struct rte_eth_dev *dev,\n \tstruct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \n \tif (hw->mac.type != ixgbe_mac_X550 &&\n-\t    hw->mac.type != ixgbe_mac_X550EM_x) {\n+\t    hw->mac.type != ixgbe_mac_X550EM_x &&\n+\t    hw->mac.type != ixgbe_mac_X550EM_a) {\n \t\treturn -ENOTSUP;\n \t}\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}