Under IBoE, the 3 MSBits of the TOS map to the SL, hence letting
the user to specify them in hex makes the interface friendlier.
Signed-off-by: Or Gerlitz
---
examples/cmatose.c |2 +-
examples/udaddy.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/cmato
Under IBoE, SLs 0-7 are mapped to Ethernet 8021q user priority bits
(pbits) which are part of the VLAN tag, SLs 8-15 are reserved.
Under Ethernet, the ConnectX firmware treats (decode/encode) the four
bit SL field in various constructs such as QPC / UD WQE / CQE as PPP0
and not as 0PPP. This corre
The link layer field is to be used in few flows
among them fast path operations such as CQ polling.
Signed-off-by: Or Gerlitz
---
src/mlx4.h |2 ++
src/verbs.c |8
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/mlx4.h b/src/mlx4.h
index 0ad838d..f92611f 100
When running IBoE traffic, the hardware places Ethernet
fields into the CQE. This patch enhances the code to include
the ones related to vlans.
Signed-off-by: Or Gerlitz
---
src/cq.c | 25 ++---
1 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/src/cq.c b/src
Under IBoE, SLs 0-7 are mapped to Ethernet 8021q user priority bits
(pbits) which are part of the VLAN tag, SLs 8-15 are reserved.
Under Ethernet, the ConnectX firmware treats (decode/encode) the four
bit SL field in various constructs such as QPC / UD WQE / CQE as PPP0
and not as 0PPP. This corre
This series deals with fixes related to Ethernet 8021q vlan
priority-bits used by mlx4 code under IBoE. It is made of
one kernel/mlx4_ib patch and three user-space/libmlx4 patches.
This series makes the IBoE code to follow IBTA's IBoE Annex, section
A16.8.1 "SL, VL MANAGEMENT" - and map SLs 0-7 to