Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/628799/?format=api
{ "id": 628799, "url": "http://patchwork.ozlabs.org/api/patches/628799/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1464799843-2589-1-git-send-email-anthony.l.nguyen@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": "<1464799843-2589-1-git-send-email-anthony.l.nguyen@intel.com>", "list_archive_url": null, "date": "2016-06-01T16:50:43", "name": "ixgbe: Correct reporting of timestamping for x550", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "5d9f7b4cb81a37dff713588e3744ade481e8005e", "submitter": { "id": 68875, "url": "http://patchwork.ozlabs.org/api/people/68875/?format=api", "name": "Tony Nguyen", "email": "anthony.l.nguyen@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/1464799843-2589-1-git-send-email-anthony.l.nguyen@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/628799/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/628799/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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3rKdPT25pCz9t6D\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 2 Jun 2016 03:58:05 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8602285227;\n\tWed, 1 Jun 2016 17:58:03 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id QAsX5MhtUMKA; Wed, 1 Jun 2016 17:58:02 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 1BA1C870C6;\n\tWed, 1 Jun 2016 17:58:02 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 852971C0D74\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 1 Jun 2016 17:58:00 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 7DDF2870C6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 1 Jun 2016 17:58:00 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id MmhfdCH6e6HE for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 1 Jun 2016 17:57:59 +0000 (UTC)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 3FC0D86779\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 1 Jun 2016 17:57:59 +0000 (UTC)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP; 01 Jun 2016 10:57:51 -0700", "from unknown (HELO anguy11-desk2.localdomain.com) ([10.166.12.54])\n\tby orsmga002.jf.intel.com with ESMTP; 01 Jun 2016 10:57:52 -0700" ], "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.26,402,1459839600\"; d=\"scan'208\";a=\"989053863\"", "From": "Tony Nguyen <anthony.l.nguyen@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 1 Jun 2016 09:50:43 -0700", "Message-Id": "<1464799843-2589-1-git-send-email-anthony.l.nguyen@intel.com>", "X-Mailer": "git-send-email 2.4.0", "Subject": "[Intel-wired-lan] [PATCH] ixgbe: Correct reporting of timestamping\n\tfor x550", "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": "Update ixgbe_ethtool_get_ts_info() to show that x550 supports hardware\ntimestamping of all packets.\n\nReported-by: Guy Harris <guy@alum.mit.edu>\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c\nindex f1d2fc1..716e643 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c\n@@ -2993,10 +2993,15 @@ static int ixgbe_get_ts_info(struct net_device *dev,\n {\n \tstruct ixgbe_adapter *adapter = netdev_priv(dev);\n \n+\t/* we always support timestamping disabled */\n+\tinfo->rx_filters = BIT(HWTSTAMP_FILTER_NONE);\n+\n \tswitch (adapter->hw.mac.type) {\n \tcase ixgbe_mac_X550:\n \tcase ixgbe_mac_X550EM_x:\n \tcase ixgbe_mac_x550em_a:\n+\t\tinfo->rx_filters |= BIT(HWTSTAMP_FILTER_ALL);\n+\t\t/* fallthrough */\n \tcase ixgbe_mac_X540:\n \tcase ixgbe_mac_82599EB:\n \t\tinfo->so_timestamping =\n@@ -3016,8 +3021,7 @@ static int ixgbe_get_ts_info(struct net_device *dev,\n \t\t\tBIT(HWTSTAMP_TX_OFF) |\n \t\t\tBIT(HWTSTAMP_TX_ON);\n \n-\t\tinfo->rx_filters =\n-\t\t\tBIT(HWTSTAMP_FILTER_NONE) |\n+\t\tinfo->rx_filters |=\n \t\t\tBIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC) |\n \t\t\tBIT(HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) |\n \t\t\tBIT(HWTSTAMP_FILTER_PTP_V2_EVENT);\n", "prefixes": [] }