Searched refs:ipi_ehdrlen (Results 1 – 12 of 12) sorted by relevance
/freebsd/sys/dev/e1000/ |
H A D | em_txrx.c | 147 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 D | igb_txrx.c | 112 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 D | ice_common_txrx.h | 71 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 D | iavf_txrx_iflib.c | 139 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 D | igc_txrx.c | 152 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 D | ixl_txrx.c | 165 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 D | ix_txrx.c | 97 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 D | xgbe-txrx.c | 69 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 D | iflib.c | 3195 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 D | iflib.h | 115 uint8_t ipi_ehdrlen; /* ether header length */ member
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_txrx.c | 129 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 D | if_vmx.c | 1356 hdrlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen; in vmxnet3_isc_txd_encap()
|