Home
last modified time | relevance | path

Searched refs:tcp_hlen (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c242 int ip_hlen, tcp_hlen; in mlx5e_get_full_header_size()
308 tcp_hlen = th->th_off << 2; in mlx5e_get_full_header_size()
309 eth_hdr_len += tcp_hlen; in mlx5e_get_full_header_size()
366 int tcp_hlen; in mlx5e_get_vxlan_header_size()
511 tcp_hlen = th->th_off << 2; in mlx5e_get_vxlan_header_size()
512 eth_hdr_len += tcp_hlen; in mlx5e_get_vxlan_header_size()
241 int ip_hlen, tcp_hlen; mlx5e_get_full_header_size() local
365 int tcp_hlen; mlx5e_get_vxlan_header_size() local
/freebsd/sys/dev/qlxgb/
H A Dqla_hw.c713 uint32_t ehdrlen, hdrlen = 0, ip_hlen, tcp_hlen, tcp_opt_off; in qla_tx_tso() local
763 tcp_hlen = th->th_off << 2; in qla_tx_tso()
765 hdrlen = ehdrlen + ip_hlen + tcp_hlen; in qla_tx_tso()
769 if (tcp_hlen > sizeof(struct tcphdr)) { in qla_tx_tso()
771 (tcp_hlen - sizeof(struct tcphdr)), in qla_tx_tso()
781 if ((tcp_hlen - sizeof(struct tcphdr)) != 10) in qla_tx_tso()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c504 int ip_hlen, tcp_hlen; in mlx4_en_get_header_size() local
545 tcp_hlen = th->th_off << 2; in mlx4_en_get_header_size()
546 eth_hdr_len += tcp_hlen; in mlx4_en_get_header_size()
/freebsd/sys/dev/qlxgbe/
H A Dql_hw.c2263 uint32_t ehdrlen, hdrlen, ip_hlen, tcp_hlen, tcp_opt_off; in qla_tx_tso() local
2336 tcp_hlen = th->th_off << 2; in qla_tx_tso()
2337 hdrlen = ehdrlen + ip_hlen + tcp_hlen; in qla_tx_tso()
2341 if (tcp_hlen > sizeof(struct tcphdr)) { in qla_tx_tso()
2343 (tcp_hlen - sizeof(struct tcphdr)), in qla_tx_tso()
/freebsd/sys/dev/bce/
H A Dif_bce.c7100 int hdr_len __unused, ip_len __unused, ip_hlen = 0, tcp_hlen = 0; in bce_tso_setup() local
7154 tcp_hlen = (th->th_off << 2); in bce_tso_setup()
7158 tcp_hlen); in bce_tso_setup()
7185 hdr_len = sizeof(struct ether_header) + ip_hlen + tcp_hlen; in bce_tso_setup()
7190 tcp_hlen, ip_len); in bce_tso_setup()
7196 *flags |= (((ip_hlen + tcp_hlen - sizeof(struct ip) - in bce_tso_setup()