* [PATCH iproute2-next] rdma: Update device capabilities flags
@ 2018-03-07 9:05 Leon Romanovsky
2018-03-08 17:20 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2018-03-07 9:05 UTC (permalink / raw)
To: David Ahern; +Cc: Leon Romanovsky, netdev, Stephen Hemminger, RDMA mailing list
From: Leon Romanovsky <leonro@mellanox.com>
In kernel commit e1d2e8873369 ("IB/core: Add PCI write
end padding flags for WQ and QP"), we introduced new
device capability to advertise PCI write end padding.
PCI write end padding is the device's ability to pad the ending of
incoming packets (scatter) to full cache line such that the last
upstream write generated by an incoming packet will be a full cache
line.
This commit updates RDMAtool to present this field.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
---
rdma/dev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rdma/dev.c b/rdma/dev.c
index 03ab8683..e2eafe47 100644
--- a/rdma/dev.c
+++ b/rdma/dev.c
@@ -53,7 +53,8 @@ static const char *dev_caps_to_str(uint32_t idx)
x(SG_GAPS_REG, 32) \
x(VIRTUAL_FUNCTION, 33) \
x(RAW_SCATTER_FCS, 34) \
- x(RDMA_NETDEV_OPA_VNIC, 35)
+ x(RDMA_NETDEV_OPA_VNIC, 35) \
+ x(PCI_WRITE_END_PADDING, 36)
enum { RDMA_DEV_FLAGS(RDMA_BITMAP_ENUM) };
--
2.16.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH iproute2-next] rdma: Update device capabilities flags
2018-03-07 9:05 [PATCH iproute2-next] rdma: Update device capabilities flags Leon Romanovsky
@ 2018-03-08 17:20 ` David Ahern
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2018-03-08 17:20 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Leon Romanovsky, netdev, Stephen Hemminger, RDMA mailing list
On 3/7/18 2:05 AM, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
>
> In kernel commit e1d2e8873369 ("IB/core: Add PCI write
> end padding flags for WQ and QP"), we introduced new
> device capability to advertise PCI write end padding.
>
> PCI write end padding is the device's ability to pad the ending of
> incoming packets (scatter) to full cache line such that the last
> upstream write generated by an incoming packet will be a full cache
> line.
>
> This commit updates RDMAtool to present this field.
>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> ---
> rdma/dev.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/rdma/dev.c b/rdma/dev.c
> index 03ab8683..e2eafe47 100644
> --- a/rdma/dev.c
> +++ b/rdma/dev.c
> @@ -53,7 +53,8 @@ static const char *dev_caps_to_str(uint32_t idx)
> x(SG_GAPS_REG, 32) \
> x(VIRTUAL_FUNCTION, 33) \
> x(RAW_SCATTER_FCS, 34) \
> - x(RDMA_NETDEV_OPA_VNIC, 35)
> + x(RDMA_NETDEV_OPA_VNIC, 35) \
> + x(PCI_WRITE_END_PADDING, 36)
>
> enum { RDMA_DEV_FLAGS(RDMA_BITMAP_ENUM) };
>
>
applied to iproute2-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-08 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 9:05 [PATCH iproute2-next] rdma: Update device capabilities flags Leon Romanovsky
2018-03-08 17:20 ` David Ahern
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).