Searched refs:s_hdr (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/drivers/infiniband/hw/qib/ |
| H A D | qib_ruc.c | 221 qib_make_grh(ibp, &priv->s_hdr->u.l.grh, in qib_make_ruc_header() 228 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ruc_header() 229 priv->s_hdr->lrh[1] = in qib_make_ruc_header() 231 priv->s_hdr->lrh[2] = in qib_make_ruc_header() 233 priv->s_hdr->lrh[3] = in qib_make_ruc_header() 304 if (qib_verbs_send(qp, priv->s_hdr, qp->s_hdrwords, in qib_do_send()
|
| H A D | qib_ud.c | 325 qp->s_hdrwords += qib_make_grh(ibp, &priv->s_hdr->u.l.grh, in qib_make_ud_req() 329 ohdr = &priv->s_hdr->u.l.oth; in qib_make_ud_req() 337 ohdr = &priv->s_hdr->u.oth; in qib_make_ud_req() 350 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ud_req() 351 priv->s_hdr->lrh[1] = in qib_make_ud_req() 353 priv->s_hdr->lrh[2] = in qib_make_ud_req() 359 priv->s_hdr->lrh[3] = cpu_to_be16(lid); in qib_make_ud_req() 361 priv->s_hdr->lrh[3] = IB_LID_PERMISSIVE; in qib_make_ud_req()
|
| H A D | qib_qp.c | 328 priv->s_hdr = kzalloc(sizeof(*priv->s_hdr), GFP_KERNEL); in qib_qp_priv_alloc() 329 if (!priv->s_hdr) { in qib_qp_priv_alloc() 344 kfree(priv->s_hdr); in qib_qp_priv_free()
|
| H A D | qib_uc.c | 76 ohdr = &priv->s_hdr->u.oth; in qib_make_uc_req() 78 ohdr = &priv->s_hdr->u.l.oth; in qib_make_uc_req()
|
| H A D | qib_verbs.h | 117 struct ib_header *s_hdr; /* next packet header to send */ member
|
| H A D | qib_rc.c | 232 ohdr = &priv->s_hdr->u.oth; in qib_make_rc_req() 234 ohdr = &priv->s_hdr->u.l.oth; in qib_make_rc_req()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | definer.c | 115 #define HWS_CALC_HDR_SRC(fc, s_hdr) \ argument 117 (fc)->s_bit_mask = __mlx5_mask(fte_match_param, s_hdr); \ 118 (fc)->s_bit_off = __mlx5_dw_bit_off(fte_match_param, s_hdr); \ 119 (fc)->s_byte_off = MLX5_BYTE_OFF(fte_match_param, s_hdr); \ 129 #define HWS_CALC_HDR(fc, s_hdr, d_hdr) \ argument 131 HWS_CALC_HDR_SRC(fc, s_hdr); \ 136 #define HWS_SET_HDR(fc_arr, match_param, fname, s_hdr, d_hdr) \ argument 138 if (HWS_IS_FLD_SET(match_param, s_hdr)) \ 139 HWS_CALC_HDR(&(fc_arr)[MLX5HWS_DEFINER_FNAME_##fname], s_hdr, d_hdr); \
|