get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 547384,
    "url": "http://patchwork.ozlabs.org/api/patches/547384/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1448262224-71480-5-git-send-email-anjali.singhai@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1448262224-71480-5-git-send-email-anjali.singhai@intel.com>",
    "list_archive_url": null,
    "date": "2015-11-23T07:03:42",
    "name": "[v6,4/6] i40e: Remove CONFIG_I40E_VXLAN",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "99d3e54b88fa1ca888449f48811cf4b248ebadfe",
    "submitter": {
        "id": 65487,
        "url": "http://patchwork.ozlabs.org/api/people/65487/?format=api",
        "name": "Singhai, Anjali",
        "email": "anjali.singhai@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1448262224-71480-5-git-send-email-anjali.singhai@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/547384/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/547384/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id E8A5C1402B2\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 23 Nov 2015 17:46:52 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id BFC51925E7;\n\tMon, 23 Nov 2015 06:46:51 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 48NAmRbjAWO6; Mon, 23 Nov 2015 06:46:51 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 193CF925D4;\n\tMon, 23 Nov 2015 06:46:51 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2FB431C0ED0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 06:46:50 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2941D925E7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 06:46:50 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8IrCkRctk6Hd for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 06:46:49 +0000 (UTC)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id EEB4B926E4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 23 Nov 2015 06:46:48 +0000 (UTC)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga101.fm.intel.com with ESMTP; 22 Nov 2015 22:46:48 -0800",
            "from asinghai-cp.jf.intel.com ([134.134.3.84])\n\tby orsmga001.jf.intel.com with ESMTP; 22 Nov 2015 22:46:47 -0800"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,336,1444719600\"; d=\"scan'208\";a=\"826891646\"",
        "From": "Anjali Singhai Jain <anjali.singhai@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Sun, 22 Nov 2015 23:03:42 -0800",
        "Message-Id": "<1448262224-71480-5-git-send-email-anjali.singhai@intel.com>",
        "X-Mailer": "git-send-email 1.8.1.4",
        "In-Reply-To": "<1448262224-71480-1-git-send-email-anjali.singhai@intel.com>",
        "References": "<anjali.singhai@intel.com>\n\t<1448262224-71480-1-git-send-email-anjali.singhai@intel.com>",
        "Subject": "[Intel-wired-lan] [PATCH v6 4/6] i40e: Remove CONFIG_I40E_VXLAN",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "If the kernel flag CONFIG_VXLAN is true or CONFIG_VXLAN_MODULE is true,\nenable VXLAN offload in the driver.\n\nSigned-off-by: Kiran Patil <kiran.patil@intel.com>\nSigned-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>\n---\n drivers/net/ethernet/intel/Kconfig          | 11 -----------\n drivers/net/ethernet/intel/i40e/i40e_main.c | 14 ++++++++------\n 2 files changed, 8 insertions(+), 17 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/ethernet/intel/Kconfig\nindex 4163b16..061e4e0 100644\n--- a/drivers/net/ethernet/intel/Kconfig\n+++ b/drivers/net/ethernet/intel/Kconfig\n@@ -269,17 +269,6 @@ config I40E\n \t  To compile this driver as a module, choose M here. The module\n \t  will be called i40e.\n \n-config I40E_VXLAN\n-\tbool \"Virtual eXtensible Local Area Network Support\"\n-\tdefault n\n-\tdepends on I40E && VXLAN && !(I40E=y && VXLAN=m)\n-\t---help---\n-\t  This allows one to create VXLAN virtual interfaces that provide\n-\t  Layer 2 Networks over Layer 3 Networks. VXLAN is often used\n-\t  to tunnel virtual network infrastructure in virtualized environments.\n-\t  Say Y here if you want to use Virtual eXtensible Local Area Network\n-\t  (VXLAN) in the driver.\n-\n config I40E_DCB\n \tbool \"Data Center Bridging (DCB) Support\"\n \tdefault n\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 9ffbe27..21b6285 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -27,7 +27,7 @@\n /* Local includes */\n #include \"i40e.h\"\n #include \"i40e_diag.h\"\n-#ifdef CONFIG_I40E_VXLAN\n+#if IS_ENABLED(CONFIG_VXLAN)\n #include <net/vxlan.h>\n #endif\n #include <net/udp_tunnel.h>\n@@ -6996,7 +6996,7 @@ static void i40e_handle_mdd_event(struct i40e_pf *pf)\n  **/\n static void i40e_sync_udp_filters_subtask(struct i40e_pf *pf)\n {\n-#ifdef CONFIG_I40E_VXLAN\n+#if IS_ENABLED(CONFIG_VXLAN)\n \tstruct i40e_hw *hw = &pf->hw;\n \ti40e_status ret;\n \t__be16 port;\n@@ -8431,7 +8431,7 @@ static int i40e_set_features(struct net_device *netdev,\n \treturn 0;\n }\n \n-#ifdef CONFIG_I40E_VXLAN\n+#if IS_ENABLED(CONFIG_VXLAN)\n /**\n  * i40e_get_udp_port_idx - Lookup a possibly offloaded for Rx UDP port\n  * @pf: board private structure\n@@ -8451,6 +8451,7 @@ static u8 i40e_get_udp_port_idx(struct i40e_pf *pf, __be16 port)\n \treturn i;\n }\n \n+#endif\n /**\n  * i40e_add_tunnel_port - Get notifications about UDP tunnel ports that come up\n  * @netdev: This physical port's netdev\n@@ -8465,6 +8466,7 @@ static void i40e_add_tunnel_port(struct net_device *netdev,\n \t\t\t\t sa_family_t sa_family, __be16 port,\n \t\t\t\t u32 type)\n {\n+#if IS_ENABLED(CONFIG_VXLAN)\n \tstruct i40e_netdev_priv *np = netdev_priv(netdev);\n \tstruct i40e_vsi *vsi = np->vsi;\n \tstruct i40e_pf *pf = vsi->back;\n@@ -8502,6 +8504,7 @@ static void i40e_add_tunnel_port(struct net_device *netdev,\n \n \tpf->pending_udp_bitmap |= BIT_ULL(next_idx);\n \tpf->flags |= I40E_FLAG_UDP_FILTER_SYNC;\n+#endif\n }\n \n /**\n@@ -8518,6 +8521,7 @@ static void i40e_del_tunnel_port(struct net_device *netdev,\n \t\t\t\t sa_family_t sa_family, __be16 port,\n \t\t\t\t u32 type)\n {\n+#if IS_ENABLED(CONFIG_VXLAN)\n \tstruct i40e_netdev_priv *np = netdev_priv(netdev);\n \tstruct i40e_vsi *vsi = np->vsi;\n \tstruct i40e_pf *pf = vsi->back;\n@@ -8543,9 +8547,9 @@ static void i40e_del_tunnel_port(struct net_device *netdev,\n \t\tnetdev_warn(netdev, \"udp tunnel port %d was not found, not deleting\\n\",\n \t\t\t    ntohs(port));\n \t}\n+#endif\n }\n \n-#endif\n static int i40e_get_phys_port_id(struct net_device *netdev,\n \t\t\t\t struct netdev_phys_item_id *ppid)\n {\n@@ -8770,10 +8774,8 @@ static const struct net_device_ops i40e_netdev_ops = {\n \t.ndo_get_vf_config\t= i40e_ndo_get_vf_config,\n \t.ndo_set_vf_link_state\t= i40e_ndo_set_vf_link_state,\n \t.ndo_set_vf_spoofchk\t= i40e_ndo_set_vf_spoofchk,\n-#ifdef CONFIG_I40E_VXLAN\n \t.ndo_add_udp_tunnel_port\t= i40e_add_tunnel_port,\n \t.ndo_del_udp_tunnel_port\t= i40e_del_tunnel_port,\n-#endif\n \t.ndo_get_phys_port_id\t= i40e_get_phys_port_id,\n \t.ndo_fdb_add\t\t= i40e_ndo_fdb_add,\n \t.ndo_features_check\t= i40e_features_check,\n",
    "prefixes": [
        "v6",
        "4/6"
    ]
}