Home
last modified time | relevance | path

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

/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()
178 TXD->lower_setup.ip_fields.ipcss = pi->ipi_ehdrlen; in em_tso_setup()
180 pi->ipi_ehdrlen + offsetof(struct ip, ip_sum); 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()
267 txr->csum_lhlen == pi->ipi_ehdrlen && in em_transmit_checksum_setup()
289 TXD->lower_setup.ip_fields.ipcss = pi->ipi_ehdrlen; in em_transmit_checksum_setup()
290 TXD->lower_setup.ip_fields.ipcso = pi->ipi_ehdrlen + in em_transmit_checksum_setup()
[all …]
H A Digb_txrx.c112 paylen = pi->ipi_len - pi->ipi_ehdrlen - pi->ipi_ip_hlen - in igb_tso_setup()
120 vlan_macip_lens |= pi->ipi_ehdrlen << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso_setup()
182 vlan_macip_lens |= pi->ipi_ehdrlen << E1000_ADVTXD_MACLEN_SHIFT; in igb_tx_ctx_setup()
/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()
222 *off |= (pi->ipi_ehdrlen >> 1) << ICE_TX_DESC_LEN_MACLEN_S; in ice_tx_setup_offload()
/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()
216 *off |= (pi->ipi_ehdrlen >> 1) << IAVF_TX_DESC_LENGTH_MACLEN_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()
288 MPASS(pi->ipi_ehdrlen != 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()
160 vlan_macip_lens |= pi->ipi_ehdrlen << IGC_ADVTXD_MACLEN_SHIFT; in igc_tso_setup()
218 vlan_macip_lens |= pi->ipi_ehdrlen << IGC_ADVTXD_MACLEN_SHIFT; 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()
242 *off |= (pi->ipi_ehdrlen >> 1) << I40E_TX_DESC_LENGTH_MACLEN_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()
309 MPASS(pi->ipi_ehdrlen != 0); in ixl_tso_setup()
/freebsd/sys/dev/ixgbe/
H A Dix_txrx.c97 if (pi->ipi_ehdrlen == 0) { in ixgbe_tx_ctx_setup()
101 ehdrlen = pi->ipi_ehdrlen; 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.c3195 pi->ipi_etype, pi->ipi_ehdrlen, pi->ipi_ip_hlen, pi->ipi_ipproto); in print_pkt()
3228 pi->ipi_ehdrlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in iflib_parse_ether_header()
3231 pi->ipi_ehdrlen = ETHER_HDR_LEN; in iflib_parse_ether_header()
3277 miniplen = min(m->m_pkthdr.len, pi->ipi_ehdrlen + sizeof(*ip)); in iflib_parse_header_partial()
3283 if (m->m_len == pi->ipi_ehdrlen) { in iflib_parse_header_partial()
3293 ip = (struct ip *)(m->m_data + pi->ipi_ehdrlen); in iflib_parse_header_partial()
3299 ip = (struct ip *)(m->m_data + pi->ipi_ehdrlen); in iflib_parse_header_partial()
3302 ip = (struct ip *)(m->m_data + pi->ipi_ehdrlen); in iflib_parse_header_partial()
3319 if (__predict_false(m->m_len < pi->ipi_ehdrlen + sizeof(struct ip6_hdr))) { in iflib_parse_header_partial()
3321 if (__predict_false((m = m_pullup(m, pi->ipi_ehdrlen + sizeof(struct ip6_hdr))) == NULL)) in iflib_parse_header_partial()
[all …]
H A Diflib.h115 uint8_t ipi_ehdrlen; /* ether header length */ member
/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()