[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL1RGDWAHNRK5paWzE1xKPCxgKMEQi65_ZD7p1Nk+TGNXsQ9aA@mail.gmail.com>
Date: Mon, 5 Mar 2012 12:46:41 -0800
From: Roland Dreier <roland@...estorage.com>
To: Yevgeny Petrilin <yevgenyp@...lanox.co.il>
Cc: davem@...emloft.net, netdev@...r.kernel.org, amirv@...lanox.co.il
Subject: Re: [PATCH net] mlx4_core: remove buggy sched_queue masking
> port = ((context->pri_path.sched_queue >> 6) & 1) + 1;
This assignment of port seems to become dead code now...
> - if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH)
> - context->pri_path.sched_queue = (context->pri_path.sched_queue &
> - 0xc3);
>
> *(__be32 *) mailbox->buf = cpu_to_be32(optpar);
> memcpy(mailbox->buf + 8, context, sizeof *context);
--
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