Home
last modified time | relevance | path

Searched refs:ipi_ip_hlen (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/ice/
H A Dice_common_txrx.h71 hlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in ice_tso_detect_sparse()
154 tsolen = pi->ipi_len - (pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen); in ice_tso_setup()
223 *off |= (pi->ipi_ip_hlen >> 2) << ICE_TX_DESC_LEN_IPLEN_S; in ice_tx_setup_offload()
/freebsd/sys/dev/e1000/
H A Dem_txrx.c147 hdr_len = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in em_tso_setup()
167 htole16(pi->ipi_ehdrlen + pi->ipi_ip_hlen - 1); in em_tso_setup()
187 TXD->upper_setup.tcp_fields.tucss = pi->ipi_ehdrlen + pi->ipi_ip_hlen; in em_tso_setup()
190 pi->ipi_ehdrlen + pi->ipi_ip_hlen + in em_tso_setup()
255 hdr_len = pi->ipi_ehdrlen + pi->ipi_ip_hlen; in em_transmit_checksum_setup()
268 txr->csum_iphlen == pi->ipi_ip_hlen && in em_transmit_checksum_setup()
322 txr->csum_iphlen = pi->ipi_ip_hlen; in em_transmit_checksum_setup()
H A Digb_txrx.c112 paylen = pi->ipi_len - pi->ipi_ehdrlen - pi->ipi_ip_hlen - in igb_tso_setup()
121 vlan_macip_lens |= pi->ipi_ip_hlen; in igb_tso_setup()
195 vlan_macip_lens |= pi->ipi_ip_hlen; in igb_tx_ctx_setup()
/freebsd/sys/dev/iavf/
H A Diavf_txrx_iflib.c139 hlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in iavf_tso_detect_sparse()
217 *off |= (pi->ipi_ip_hlen >> 2) << IAVF_TX_DESC_LENGTH_IPLEN_SHIFT; in iavf_tx_setup_offload()
269 total_hdr_len = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in iavf_tso_setup()
289 MPASS(pi->ipi_ip_hlen != 0); in iavf_tso_setup()
/freebsd/sys/dev/igc/
H A Digc_txrx.c152 paylen = pi->ipi_len - pi->ipi_ehdrlen - pi->ipi_ip_hlen - in igc_tso_setup()
161 vlan_macip_lens |= pi->ipi_ip_hlen; in igc_tso_setup()
231 vlan_macip_lens |= pi->ipi_ip_hlen; in igc_tx_ctx_setup()
/freebsd/sys/dev/ixl/
H A Dixl_txrx.c165 hlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in ixl_tso_detect_sparse()
243 *off |= (pi->ipi_ip_hlen >> 2) << I40E_TX_DESC_LENGTH_IPLEN_SHIFT; in ixl_tx_setup_offload()
290 total_hdr_len = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in ixl_tso_setup()
310 MPASS(pi->ipi_ip_hlen != 0); in ixl_tso_setup()
/freebsd/sys/dev/ixgbe/
H A Dix_txrx.c108 pktlen = pi->ipi_len - ehdrlen - pi->ipi_ip_hlen - in ixgbe_tx_ctx_setup()
128 vlan_macip_lens |= pi->ipi_ip_hlen; in ixgbe_tx_ctx_setup()
/freebsd/sys/dev/axgbe/
H A Dxgbe-txrx.c69 pi->ipi_etype, pi->ipi_ehdrlen, pi->ipi_ip_hlen, pi->ipi_ipproto); in xgbe_print_pkt_info()
132 hlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in axgbe_calculate_tx_parms()
137 __func__, pi->ipi_len, pi->ipi_ehdrlen, pi->ipi_ip_hlen, in axgbe_calculate_tx_parms()
/freebsd/sys/net/
H A Diflib.h116 uint8_t ipi_ip_hlen; /* ip header length */ member
H A Diflib.c3195 pi->ipi_etype, pi->ipi_ehdrlen, pi->ipi_ip_hlen, pi->ipi_ipproto); in print_pkt()
3306 pi->ipi_ip_hlen = ip->ip_hl << 2; in iflib_parse_header_partial()
3327 pi->ipi_ip_hlen = sizeof(struct ip6_hdr); in iflib_parse_header_partial()
3337 pi->ipi_ip_hlen = 0; in iflib_parse_header_partial()
3412 pi->ipi_ip_hlen = ip->ip_hl << 2; in iflib_parse_header()
3424 th = (struct tcphdr *)((caddr_t)ip + pi->ipi_ip_hlen); in iflib_parse_header()
3442 ip->ip_len = htons(pi->ipi_ip_hlen + pi->ipi_tcp_hlen + pi->ipi_tso_segsz); in iflib_parse_header()
3457 pi->ipi_ip_hlen = sizeof(struct ip6_hdr); in iflib_parse_header()
3464 th = (struct tcphdr *)((caddr_t)ip6 + pi->ipi_ip_hlen); in iflib_parse_header()
3499 pi->ipi_ip_hlen = 0; in iflib_parse_header()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_txrx.c129 tbdh->kid_or_ts_low_hdr_size = htole16((pi->ipi_ehdrlen + pi->ipi_ip_hlen + in bnxt_isc_txd_encap()
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c1356 hdrlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen; in vmxnet3_isc_txd_encap()