Searched refs:ipi_csum_flags (Results 1 – 13 of 13) sorted by relevance
194 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()
147 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()
106 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()
201 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()
161 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()
250 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()
227 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()
197 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()
67 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()
102 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()
120 uint32_t ipi_csum_flags; /* packet checksum flags */ member
3193 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 …]
1357 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()