Searched refs:rtlv (Results 1 – 1 of 1) sorted by relevance
15 static inline void __roce_1st_tlv_prep(struct roce_tlv *rtlv, u8 tot_chunks, in __roce_1st_tlv_prep() argument18 rtlv->tlv.cmd_discr = cpu_to_le16(CMD_DISCR_TLV_ENCAP); in __roce_1st_tlv_prep()19 rtlv->tlv.tlv_type = cpu_to_le16(TLV_TYPE_ROCE_SP_COMMAND); in __roce_1st_tlv_prep()20 rtlv->tlv.length = cpu_to_le16(content_bytes); in __roce_1st_tlv_prep()21 rtlv->tlv.flags = TLV_FLAGS_REQUIRED; in __roce_1st_tlv_prep()22 rtlv->tlv.flags |= flags ? TLV_FLAGS_MORE : 0; in __roce_1st_tlv_prep()23 rtlv->total_size = (tot_chunks); in __roce_1st_tlv_prep()26 static inline void __roce_ext_tlv_prep(struct roce_tlv *rtlv, u16 tlv_type, in __roce_ext_tlv_prep() argument29 rtlv->tlv.cmd_discr = cpu_to_le16(CMD_DISCR_TLV_ENCAP); in __roce_ext_tlv_prep()30 rtlv->tlv.tlv_type = cpu_to_le16(tlv_type); in __roce_ext_tlv_prep()[all …]