Lines Matching refs:hdr_len
924 uint32_t num_tx_cmds, hdr_len = 0; in qla_hw_send() local
955 hdr_len = tso_cmd.total_hdr_len; in qla_hw_send()
958 bytes = QL_MIN(bytes, hdr_len); in qla_hw_send()
961 hdr_len -= bytes; in qla_hw_send()
963 while (hdr_len) { in qla_hw_send()
964 bytes = QL_MIN((sizeof(q80_tx_cmd_t)), hdr_len); in qla_hw_send()
965 hdr_len -= bytes; in qla_hw_send()
968 hdr_len = tso_cmd.total_hdr_len; in qla_hw_send()
989 if (hdr_len == 0) { in qla_hw_send()
1060 if (hdr_len) { in qla_hw_send()
1067 bytes = QL_MIN(bytes, hdr_len); in qla_hw_send()
1077 hdr_len -= (ETHER_ADDR_LEN * 2); in qla_hw_send()
1088 hdr_len -= bytes; in qla_hw_send()
1092 hdr_len -= bytes; in qla_hw_send()
1098 while (hdr_len) { in qla_hw_send()
1102 bytes = QL_MIN((sizeof(q80_tx_cmd_t)), hdr_len); in qla_hw_send()
1106 hdr_len -= bytes; in qla_hw_send()