Home
last modified time | relevance | path

Searched refs:ipi_csum_flags (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/ice/
H A Dice_common_txrx.h194 u32 remaining_csum_flags = pi->ipi_csum_flags; in ice_tx_setup_offload()
199 if (pi->ipi_csum_flags & ICE_CSUM_IP) { in ice_tx_setup_offload()
230 if (pi->ipi_csum_flags & ICE_CSUM_TCP) { in ice_tx_setup_offload()
238 if (pi->ipi_csum_flags & ICE_CSUM_UDP) { in ice_tx_setup_offload()
246 if (pi->ipi_csum_flags & ICE_CSUM_SCTP) { in ice_tx_setup_offload()
H A Dice_iflib_txrx.c147 if (pi->ipi_csum_flags & ICE_CSUM_OFFLOAD) { in ice_ift_txd_encap()
149 if (pi->ipi_csum_flags & CSUM_TSO) { in ice_ift_txd_encap()
/freebsd/sys/dev/ixgbe/
H A Dix_txrx.c106 if (pi->ipi_csum_flags & CSUM_TSO) { in ixgbe_tx_ctx_setup()
121 if (pi->ipi_csum_flags & (CSUM_IP|CSUM_TSO)) in ixgbe_tx_ctx_setup()
132 if (pi->ipi_csum_flags & in ixgbe_tx_ctx_setup()
139 if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)) in ixgbe_tx_ctx_setup()
145 if (pi->ipi_csum_flags & (CSUM_IP_SCTP | CSUM_IP6_SCTP)) in ixgbe_tx_ctx_setup()
198 if ((pi->ipi_csum_flags & CSUM_OFFLOAD) || in ixgbe_isc_txd_encap()
206 if (pi->ipi_csum_flags & CSUM_TSO) { in ixgbe_isc_txd_encap()
/freebsd/sys/dev/iavf/
H A Diavf_txrx_iflib.c201 if (pi->ipi_csum_flags & IAVF_CSUM_IPV4) in iavf_tx_setup_offload()
221 if (pi->ipi_csum_flags & IAVF_CSUM_TCP) { in iavf_tx_setup_offload()
230 if (pi->ipi_csum_flags & IAVF_CSUM_UDP) { in iavf_tx_setup_offload()
237 if (pi->ipi_csum_flags & IAVF_CSUM_SCTP) { in iavf_tx_setup_offload()
343 if (pi->ipi_csum_flags & CSUM_OFFLOAD) { in iavf_isc_txd_encap()
345 if (pi->ipi_csum_flags & CSUM_TSO) { in iavf_isc_txd_encap()
361 if (!(pi->ipi_csum_flags & CSUM_TSO)) in iavf_isc_txd_encap()
/freebsd/sys/dev/e1000/
H A Digb_txrx.c161 if (pi->ipi_csum_flags & CSUM_TSO) in igb_tx_ctx_setup()
177 } else if ((pi->ipi_csum_flags & IGB_CSUM_OFFLOAD) == 0) { in igb_tx_ctx_setup()
200 if (pi->ipi_csum_flags & (CSUM_IP_TCP | CSUM_IP6_TCP)) { in igb_tx_ctx_setup()
206 if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)) { in igb_tx_ctx_setup()
212 if (pi->ipi_csum_flags & (CSUM_IP_SCTP | CSUM_IP6_SCTP)) { in igb_tx_ctx_setup()
H A Dem_txrx.c250 int csum_flags = pi->ipi_csum_flags; in em_transmit_checksum_setup()
352 int csum_flags = pi->ipi_csum_flags; in em_isc_txd_encap()
/freebsd/sys/dev/ixl/
H A Dixl_txrx.c227 if (pi->ipi_csum_flags & IXL_CSUM_IPV4) in ixl_tx_setup_offload()
247 if (pi->ipi_csum_flags & IXL_CSUM_TCP) { in ixl_tx_setup_offload()
256 if (pi->ipi_csum_flags & IXL_CSUM_UDP) { in ixl_tx_setup_offload()
263 if (pi->ipi_csum_flags & IXL_CSUM_SCTP) { in ixl_tx_setup_offload()
356 if (pi->ipi_csum_flags & CSUM_OFFLOAD) { in ixl_isc_txd_encap()
358 if (pi->ipi_csum_flags & CSUM_TSO) { in ixl_isc_txd_encap()
374 if (!(pi->ipi_csum_flags & CSUM_TSO)) in ixl_isc_txd_encap()
/freebsd/sys/dev/igc/
H A Digc_txrx.c197 if (pi->ipi_csum_flags & CSUM_TSO) in igc_tx_ctx_setup()
213 } else if ((pi->ipi_csum_flags & IGC_CSUM_OFFLOAD) == 0) { in igc_tx_ctx_setup()
236 if (pi->ipi_csum_flags & (CSUM_IP_TCP | CSUM_IP6_TCP)) { in igc_tx_ctx_setup()
242 if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)) { in igc_tx_ctx_setup()
248 if (pi->ipi_csum_flags & (CSUM_IP_SCTP | CSUM_IP6_SCTP)) { in igc_tx_ctx_setup()
/freebsd/sys/dev/axgbe/
H A Dxgbe-txrx.c67 pi->ipi_new_pidx, pi->ipi_csum_flags, pi->ipi_mflags, pi->ipi_vtag); in xgbe_print_pkt_info()
91 if ((pi->ipi_csum_flags & CSUM_TSO) && in axgbe_ctx_desc_setup()
133 if (pi->ipi_csum_flags & CSUM_TSO) { in axgbe_calculate_tx_parms()
273 if (pi->ipi_csum_flags & CSUM_TSO) { in axgbe_isc_txd_encap()
293 if (pi->ipi_csum_flags) in axgbe_isc_txd_encap()
333 if (pi->ipi_csum_flags) in axgbe_isc_txd_encap()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_txrx.c102 if ((pi->ipi_csum_flags & (CSUM_OFFLOAD | CSUM_TSO | CSUM_IP)) || in bnxt_isc_txd_encap()
141 if (pi->ipi_csum_flags & CSUM_TSO) { in bnxt_isc_txd_encap()
145 else if(pi->ipi_csum_flags & CSUM_OFFLOAD) { in bnxt_isc_txd_encap()
149 else if(pi->ipi_csum_flags & CSUM_IP) { in bnxt_isc_txd_encap()
/freebsd/sys/net/
H A Diflib.h120 uint32_t ipi_csum_flags; /* packet checksum flags */ member
H A Diflib.c3193 pi->ipi_new_pidx, pi->ipi_csum_flags, pi->ipi_tso_segsz, pi->ipi_mflags, pi->ipi_vtag); in print_pkt()
3199 #define IS_TSO4(pi) ((pi)->ipi_csum_flags & CSUM_IP_TSO)
3200 #define IS_TX_OFFLOAD4(pi) ((pi)->ipi_csum_flags & (CSUM_IP_TCP | CSUM_IP_TSO))
3201 #define IS_TSO6(pi) ((pi)->ipi_csum_flags & CSUM_IP6_TSO)
3202 #define IS_TX_OFFLOAD6(pi) ((pi)->ipi_csum_flags & (CSUM_IP6_TCP | CSUM_IP6_TSO))
3336 pi->ipi_csum_flags &= ~CSUM_OFFLOAD; in iflib_parse_header_partial()
3436 pi->ipi_csum_flags |= (CSUM_IP_TCP | CSUM_IP); in iflib_parse_header()
3446 if ((sctx->isc_flags & IFLIB_NEED_ZERO_CSUM) && (pi->ipi_csum_flags & CSUM_IP)) in iflib_parse_header()
3489 pi->ipi_csum_flags |= CSUM_IP6_TCP; in iflib_parse_header()
3498 pi->ipi_csum_flags &= ~CSUM_OFFLOAD; in iflib_parse_header()
[all …]
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c1357 if (pi->ipi_csum_flags & CSUM_TSO) { in vmxnet3_isc_txd_encap()
1361 } else if (pi->ipi_csum_flags & (VMXNET3_CSUM_OFFLOAD | in vmxnet3_isc_txd_encap()