On Mon, May 22, 2017 at 03:15:38AM -0700, Selvin Xavier wrote: > From: Kalesh AP <kalesh-anakkur.purayil@xxxxxxxxxxxx> > > Current implementation does not program vlan header insertion > in RoCE packet if no vlan is configured. Firmware does not add > prority when there is no vlan tag in the packet. Modify the code > to insert vlan header when PFC is enabled on the interface. > > Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@xxxxxxxxxxxx> > Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> > --- > v2 -> v3: > Avoid temp variables while populating smac and gid > v1 -> v2: > Avoid unnecessary memcpy while populating smac and gid > > drivers/infiniband/hw/bnxt_re/main.c | 53 ++++++++++++++++++--- > drivers/infiniband/hw/bnxt_re/qplib_res.c | 10 ++++ > drivers/infiniband/hw/bnxt_re/qplib_res.h | 2 + > drivers/infiniband/hw/bnxt_re/qplib_sp.c | 77 ++++++++++++++++++++++++------- > drivers/infiniband/hw/bnxt_re/qplib_sp.h | 2 + > drivers/infiniband/hw/bnxt_re/roce_hsi.h | 4 +- > 6 files changed, 124 insertions(+), 24 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature