[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZOPZJF=uZWGeC_NMw4u+D6YxkmzNNwRQJ24whvvtNshxkx2Q@mail.gmail.com>
Date: Wed, 11 Dec 2013 22:47:51 +0200
From: Or Gerlitz <or.gerlitz@...il.com>
To: Shawn Bohrer <shawn.bohrer@...il.com>
Cc: Or Gerlitz <ogerlitz@...lanox.com>,
Amir Vadai <amirv@...lanox.com>,
Richard Cochran <richardcochran@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
tomk@...advisors.com, Shawn Bohrer <sbohrer@...advisors.com>
Subject: Re: [PATCH RFC] mlx4_en: Add PTP hardware clock
On Wed, Dec 11, 2013 Shawn Bohrer <shawn.bohrer@...il.com> wrote:
> @@ -264,10 +267,6 @@ static void *mlx4_en_add(struct mlx4_dev *dev)
> mlx4_foreach_port(i, dev, MLX4_PORT_TYPE_ETH)
> mdev->port_cnt++;
>
> - /* Initialize time stamp mechanism */
> - if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
> - mlx4_en_init_timestamp(mdev);
> -
> mlx4_foreach_port(i, dev, MLX4_PORT_TYPE_ETH) {
> if (!dev->caps.comp_pool) {
> mdev->profile.prof[i].rx_ring_num =
> @@ -305,6 +304,10 @@ static void *mlx4_en_add(struct mlx4_dev *dev)
> mdev->pndev[i] = NULL;
> }
>
> + /* Initialize time stamp mechanism */
> + if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
> + mlx4_en_init_timestamp(mdev);
> +
> return mdev;
so you are reverting here commit 1ec4864b1017 "net/mlx4_en: Fixed
crash when port type is changed" -- why?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists