RDMA/efa: Add data polling capability feature bit
authorYonatan Nachum <ynachum@amazon.com>
Sun, 19 Feb 2023 08:13:28 +0000 (08:13 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 22 Mar 2023 17:41:58 +0000 (14:41 -0300)
commit6dddd93938b3651cfeba7158ac179b4e6d3c1553
tree55c55a3880f15fbf743a23f92e3796a9c67c720e
parent901d9d62416baec3979fd9d768249b8a9e8e56ee
RDMA/efa: Add data polling capability feature bit

Add feature bit to existing device caps field. EFA supports data polling
of 128 bytes blocks.

The flag indicates that the NIC guarentees that a 128 byte aligned block
is written in order, ie that observing the last 8 bits of the block mean
the prior 127 bytes are also written.

It is useful for "last data polling" acceleration techniques.

Link: https://lore.kernel.org/r/20230219081328.10419-1-mrgolin@amazon.com
Reviewed-by: Yehuda Yitschak <yehuday@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Yonatan Nachum <ynachum@amazon.com>
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
Acked-by: Gal Pressman <gal.pressman@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
drivers/infiniband/hw/efa/efa_verbs.c
include/uapi/rdma/efa-abi.h