linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next v1 0/2] Advertise atomic operations support in mlx5
@ 2015-12-14 14:34 Eran Ben Elisha
       [not found] ` <1450103650-16857-1-git-send-email-eranbe-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Eran Ben Elisha @ 2015-12-14 14:34 UTC (permalink / raw)
  To: Doug Ledford
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Or Gerlitz, Eli Cohen,
	Yishai Hadas, Eran Ben Elisha

Hi Doug,

This patch set adds the functionality to advertise standard atomic operations
capabilities for mlx5 driver.  The Hardware can be configured to work in two
modes according to the device capabilities: 1. Big Endian requestor respond 2.
Host Endian requestor respond

If the firmware supports host endianness, try to configure the hardware to work
this way, and on success propagate this capability to the upper layers,
otherwise advertise that atomic operations aren't supported.

Thanks, Eran

Changes from v0:
	- Rewrite the commit message of the second patch in the series


Eran Ben Elisha (2):
  net/mlx5_core: Configure HW to support atomic request in host
    endianness
  IB/mlx5: Advertise atomic capabilities in query device

 drivers/infiniband/hw/mlx5/main.c              | 28 ++++++++++++-
 drivers/net/ethernet/mellanox/mlx5/core/main.c | 57 +++++++++++++++++++++++++-
 include/linux/mlx5/driver.h                    |  5 +++
 include/linux/mlx5/mlx5_ifc.h                  | 22 ++++++----
 4 files changed, 102 insertions(+), 10 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-24  5:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 14:34 [PATCH for-next v1 0/2] Advertise atomic operations support in mlx5 Eran Ben Elisha
     [not found] ` <1450103650-16857-1-git-send-email-eranbe-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-12-14 14:34   ` [PATCH for-next v1 1/2] net/mlx5_core: Configure HW to support atomic request in host endianness Eran Ben Elisha
2015-12-14 14:34   ` [PATCH for-next v1 2/2] IB/mlx5: Advertise atomic capabilities in query device Eran Ben Elisha
2015-12-23 16:06   ` [PATCH for-next v1 0/2] Advertise atomic operations support in mlx5 Doug Ledford
     [not found]     ` <AM3PR05MB1331CF3889813C3975A62A6CBAE60@AM3PR05MB1331.eurprd05.prod.outlook.com>
     [not found]       ` <AM3PR05MB1331CF3889813C3975A62A6CBAE60-LOZWmgKjnYi+m2m0k9VVTdqRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2015-12-23 17:05         ` FW: " eran ben elisha
     [not found]           ` <CAKHjkjkcr5pH5+HeBSVq0c5Vp8xypNeSvWSAjnw1_joPj4Tx6A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-24  5:21             ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).