Home
last modified time | relevance | path

Searched refs:tx_flags (Results 1 – 25 of 159) sorted by relevance

1234567

/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c139 tx_buf->tx_flags = I40E_TX_FLAGS_FD_SB; in i40e_program_fdir_filter()
760 if (tx_buffer->tx_flags & I40E_TX_FLAGS_FD_SB) in i40e_unmap_and_free_tx_resource()
2795 u32 tx_flags) in i40e_atr() argument
2822 if (!(tx_flags & (I40E_TX_FLAGS_IPV4 | I40E_TX_FLAGS_IPV6))) in i40e_atr()
2826 hdr.network = (tx_flags & I40E_TX_FLAGS_UDP_TUNNEL) ? in i40e_atr()
2832 if (tx_flags & I40E_TX_FLAGS_IPV4) { in i40e_atr()
2884 flex_ptype |= (tx_flags & I40E_TX_FLAGS_IPV4) ? in i40e_atr()
2907 if (!(tx_flags & I40E_TX_FLAGS_UDP_TUNNEL)) in i40e_atr()
2944 u32 tx_flags = 0; in i40e_tx_prepare_vlan_flags() local
2961 tx_flags |= skb_vlan_tag_get(skb) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c31 if (tx_buffer->tx_flags & IAVF_TX_FLAGS_FD_SB) in iavf_unmap_and_free_tx_resource()
1789 u32 tx_flags = 0; in iavf_tx_prepare_vlan_flags() local
1806 tx_flags |= skb_vlan_tag_get(skb) << IAVF_TX_FLAGS_VLAN_SHIFT; in iavf_tx_prepare_vlan_flags()
1807 tx_flags |= IAVF_TX_FLAGS_HW_VLAN; in iavf_tx_prepare_vlan_flags()
1817 tx_flags |= ntohs(vhdr->h_vlan_TCI) << IAVF_TX_FLAGS_VLAN_SHIFT; in iavf_tx_prepare_vlan_flags()
1818 tx_flags |= IAVF_TX_FLAGS_SW_VLAN; in iavf_tx_prepare_vlan_flags()
1822 *flags = tx_flags; in iavf_tx_prepare_vlan_flags()
1950 static int iavf_tx_enable_csum(struct sk_buff *skb, u32 *tx_flags, in iavf_tx_enable_csum() argument
1982 if (*tx_flags & IAVF_TX_FLAGS_IPV4) { in iavf_tx_enable_csum()
1983 tunnel |= (*tx_flags & IAVF_TX_FLAGS_TSO) ? in iavf_tx_enable_csum()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_txrx.c84 tx_buf->tx_flags = ICE_TX_FLAGS_DUMMY_PKT; in ice_prgm_fdir_fltr()
112 if (tx_buf->tx_flags & ICE_TX_FLAGS_DUMMY_PKT) in ice_unmap_and_free_tx_buf()
1529 if (first->tx_flags & ICE_TX_FLAGS_HW_VLAN) { in ice_tx_map()
1531 td_tag = (first->tx_flags & ICE_TX_FLAGS_VLAN_M) >> in ice_tx_map()
1689 first->tx_flags |= ICE_TX_FLAGS_IPV4; in ice_tx_csum()
1691 first->tx_flags |= ICE_TX_FLAGS_IPV6; in ice_tx_csum()
1698 if (first->tx_flags & ICE_TX_FLAGS_IPV4) { in ice_tx_csum()
1699 tunnel |= (first->tx_flags & ICE_TX_FLAGS_TSO) ? in ice_tx_csum()
1703 } else if (first->tx_flags & ICE_TX_FLAGS_IPV6) { in ice_tx_csum()
1719 first->tx_flags |= ICE_TX_FLAGS_TUNNEL; in ice_tx_csum()
[all …]
Dice_dcb_lib.c826 if ((first->tx_flags & ICE_TX_FLAGS_HW_VLAN) || in ice_tx_prepare_vlan_flags_dcb()
828 first->tx_flags &= ~ICE_TX_FLAGS_VLAN_PR_M; in ice_tx_prepare_vlan_flags_dcb()
830 first->tx_flags |= (skb->priority & 0x7) << in ice_tx_prepare_vlan_flags_dcb()
835 first->tx_flags |= ICE_TX_FLAGS_HW_VLAN; in ice_tx_prepare_vlan_flags_dcb()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c36 __le16 fc, __le32 *tx_flags) in iwlagn_tx_cmd_protection() argument
41 *tx_flags |= TX_CMD_FLG_PROT_REQUIRE_MSK; in iwlagn_tx_cmd_protection()
54 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() local
59 tx_flags |= TX_CMD_FLG_ACK_MSK; in iwlagn_tx_cmd_build_basic()
61 tx_flags &= ~TX_CMD_FLG_ACK_MSK; in iwlagn_tx_cmd_build_basic()
64 tx_flags |= TX_CMD_FLG_TSF_MSK; in iwlagn_tx_cmd_build_basic()
66 tx_flags |= TX_CMD_FLG_ACK_MSK | TX_CMD_FLG_IMM_BA_RSP_MASK; in iwlagn_tx_cmd_build_basic()
73 tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_tx_cmd_build_basic()
78 tx_flags |= TX_CMD_FLG_MORE_FRAG_MSK; in iwlagn_tx_cmd_build_basic()
83 tx_flags &= ~TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_tx_cmd_build_basic()
[all …]
/Linux-v5.15/drivers/hid/intel-ish-hid/ishtp/
Dclient.c534 unsigned long tx_flags, tx_free_flags; in ishtp_cl_send() local
590 spin_lock_irqsave(&cl->tx_list_spinlock, tx_flags); in ishtp_cl_send()
593 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ishtp_cl_send()
642 unsigned long tx_flags, tx_free_flags; in ipc_tx_callback() local
658 spin_lock_irqsave(&cl->tx_list_spinlock, tx_flags); in ipc_tx_callback()
660 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_callback()
665 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_callback()
690 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_callback()
700 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_callback()
742 unsigned long tx_flags, tx_free_flags; in ishtp_cl_send_msg_dma() local
[all …]
Dclient-buffers.c265 unsigned long tx_flags; in ishtp_cl_tx_empty() local
267 spin_lock_irqsave(&cl->tx_list_spinlock, tx_flags); in ishtp_cl_tx_empty()
269 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ishtp_cl_tx_empty()
Dhbm.c783 unsigned long flags, tx_flags; in recv_hbm() local
808 tx_flags); in recv_hbm()
816 tx_flags); in recv_hbm()
821 tx_flags); in recv_hbm()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.h57 return skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP; in cxgb4_xmit_with_hwtstamp()
62 skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS; in cxgb4_xmit_hwtstamp_pending()
/Linux-v5.15/drivers/net/wireless/microchip/wilc1000/
Dmon.c18 u16 tx_flags; member
67 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_RTS; in wilc_wfi_monitor_rx()
69 cb_hdr->tx_flags = IEEE80211_RADIOTAP_F_TX_FAIL; in wilc_wfi_monitor_rx()
179 cb_hdr->tx_flags = 0x0004; in wilc_wfi_mon_xmit()
/Linux-v5.15/drivers/media/cec/i2c/
Dch7322.c155 u8 tx_flags; member
187 ch7322->tx_flags = CH7322_TX_FLAG_NACK | CH7322_TX_FLAG_RETRY; in ch7322_send_message()
189 ch7322->tx_flags = CH7322_TX_FLAG_NACK; in ch7322_send_message()
191 ch7322->tx_flags = CH7322_TX_FLAG_RETRY; in ch7322_send_message()
245 flags = ch7322->tx_flags; in ch7322_tx_done()
481 ch7322->tx_flags = 0; in ch7322_probe()
/Linux-v5.15/include/trace/events/
Dnet.h34 __field( u8, tx_flags )
55 __entry->tx_flags = skb_shinfo(skb)->tx_flags;
67 __entry->transport_offset, __entry->tx_flags,
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c147 u32 tx_flags = le32_to_cpu(tx_cmd->tx_flags); in iwl_mvm_set_tx_cmd() local
155 tx_flags |= TX_CMD_FLG_ACK; in iwl_mvm_set_tx_cmd()
157 tx_flags &= ~TX_CMD_FLG_ACK; in iwl_mvm_set_tx_cmd()
160 tx_flags |= TX_CMD_FLG_TSF; in iwl_mvm_set_tx_cmd()
163 tx_flags |= TX_CMD_FLG_MORE_FRAG; in iwl_mvm_set_tx_cmd()
168 tx_flags &= ~TX_CMD_FLG_SEQ_CTL; in iwl_mvm_set_tx_cmd()
176 tx_flags |= TX_CMD_FLG_ACK | TX_CMD_FLG_BAR; in iwl_mvm_set_tx_cmd()
190 tx_flags |= TX_CMD_FLG_SEQ_CTL; in iwl_mvm_set_tx_cmd()
192 tx_flags &= ~TX_CMD_FLG_SEQ_CTL; in iwl_mvm_set_tx_cmd()
201 tx_flags |= iwl_mvm_bt_coex_tx_prio(mvm, hdr, info, ac) << in iwl_mvm_set_tx_cmd()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2002 struct sk_buff *skb, u32 tx_flags, u8 *hdr_len) in igbvf_tso() argument
2068 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tso()
2076 u32 tx_flags, __be16 protocol) in igbvf_tx_csum() argument
2083 if (!(tx_flags & IGBVF_TX_FLAGS_VLAN)) in igbvf_tx_csum()
2110 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tx_csum()
2219 int tx_flags, int count, in igbvf_tx_queue_adv() argument
2231 if (tx_flags & IGBVF_TX_FLAGS_VLAN) in igbvf_tx_queue_adv()
2234 if (tx_flags & IGBVF_TX_FLAGS_TSO) { in igbvf_tx_queue_adv()
2241 if (tx_flags & IGBVF_TX_FLAGS_IPV4) in igbvf_tx_queue_adv()
2244 } else if (tx_flags & IGBVF_TX_FLAGS_CSUM) { in igbvf_tx_queue_adv()
[all …]
/Linux-v5.15/drivers/dma/
Dvirt-dma.h57 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep() argument
62 vd->tx.flags = tx_flags; in vchan_tx_prep()
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c761 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tso()
857 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tx_csum()
872 static u8 fm10k_tx_desc_flags(struct sk_buff *skb, u32 tx_flags) in fm10k_tx_desc_flags() argument
878 desc_flags |= FM10K_SET_FLAG(tx_flags, FM10K_TX_FLAGS_CSUM, in fm10k_tx_desc_flags()
935 u32 tx_flags = first->tx_flags; in fm10k_tx_map() local
937 u8 flags = fm10k_tx_desc_flags(skb, tx_flags); in fm10k_tx_map()
1050 u32 tx_flags = 0; in fm10k_xmit_frame_ring() local
1076 first->tx_flags = tx_flags; in fm10k_xmit_frame_ring()
/Linux-v5.15/drivers/net/ethernet/sun/
Dsunhme.c147 le32_to_cpu(tp[i].tx_flags), le32_to_cpu(tp[i].tx_addr), in tx_dump_ring()
148 le32_to_cpu(tp[i + 1].tx_flags), le32_to_cpu(tp[i + 1].tx_addr), in tx_dump_ring()
149 le32_to_cpu(tp[i + 2].tx_flags), le32_to_cpu(tp[i + 2].tx_addr), in tx_dump_ring()
150 le32_to_cpu(tp[i + 3].tx_flags), le32_to_cpu(tp[i + 3].tx_addr)); in tx_dump_ring()
207 txd->tx_flags = (__force hme32)flags; in sbus_hme_write_txd()
236 txd->tx_flags = (__force hme32)cpu_to_le32(flags); in pci_hme_write_txd()
269 (__txd)->tx_flags = (__force hme32)(u32)(__flags); \
286 (__txd)->tx_flags = (__force hme32)cpu_to_le32(__flags); \
1206 (hme_read_desc32(hp, &txd->tx_flags) in happy_meal_clean_rings()
1211 (hme_read_desc32(hp, &txd->tx_flags) in happy_meal_clean_rings()
[all …]
/Linux-v5.15/include/uapi/linux/can/
Disotp.h119 __u8 tx_flags; /* set into struct canfd_frame.flags */ member
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c301 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbevf_clean_tx_irq()
3801 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3806 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3835 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3877 first->tx_flags |= IXGBE_TX_FLAGS_CSUM; in ixgbevf_tx_csum()
3883 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum()
3892 static __le32 ixgbevf_tx_cmd_type(u32 tx_flags) in ixgbevf_tx_cmd_type() argument
3900 if (tx_flags & IXGBE_TX_FLAGS_VLAN) in ixgbevf_tx_cmd_type()
3904 if (tx_flags & IXGBE_TX_FLAGS_TSO) in ixgbevf_tx_cmd_type()
3911 u32 tx_flags, unsigned int paylen) in ixgbevf_tx_olinfo_status() argument
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c396 __le32 tx_flags = tx_cmd->tx_flags; in il3945_build_tx_cmd_basic() local
401 tx_flags |= TX_CMD_FLG_ACK_MSK; in il3945_build_tx_cmd_basic()
403 tx_flags |= TX_CMD_FLG_SEQ_CTL_MSK; in il3945_build_tx_cmd_basic()
406 tx_flags |= TX_CMD_FLG_TSF_MSK; in il3945_build_tx_cmd_basic()
408 tx_flags &= (~TX_CMD_FLG_ACK_MSK); in il3945_build_tx_cmd_basic()
409 tx_flags |= TX_CMD_FLG_SEQ_CTL_MSK; in il3945_build_tx_cmd_basic()
414 tx_flags |= TX_CMD_FLG_MORE_FRAG_MSK; in il3945_build_tx_cmd_basic()
419 tx_flags &= ~TX_CMD_FLG_SEQ_CTL_MSK; in il3945_build_tx_cmd_basic()
421 tx_flags |= TX_CMD_FLG_SEQ_CTL_MSK; in il3945_build_tx_cmd_basic()
424 il_tx_cmd_protection(il, info, fc, &tx_flags); in il3945_build_tx_cmd_basic()
[all …]
/Linux-v5.15/drivers/dma/ti/
Dedma.c1069 unsigned long tx_flags, void *context) in edma_prep_slave_sg() argument
1159 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_slave_sg()
1164 size_t len, unsigned long tx_flags) in edma_prep_dma_memcpy() argument
1239 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_memcpy()
1268 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_memcpy()
1272 if (!(tx_flags & DMA_PREP_INTERRUPT)) in edma_prep_dma_memcpy()
1275 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_memcpy()
1281 unsigned long tx_flags) in edma_prep_dma_interleaved() argument
1345 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_interleaved()
1350 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_interleaved()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.h53 if (!(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) in mlx5e_use_ptpsq()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_main.c1063 if (!(first->tx_flags & IGC_TX_FLAGS_VLAN) && in igc_tx_csum()
1088 first->tx_flags |= IGC_TX_FLAGS_CSUM; in igc_tx_csum()
1093 vlan_macip_lens |= first->tx_flags & IGC_TX_FLAGS_VLAN_MASK; in igc_tx_csum()
1135 static u32 igc_tx_cmd_type(struct sk_buff *skb, u32 tx_flags) in igc_tx_cmd_type() argument
1143 cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_VLAN, in igc_tx_cmd_type()
1147 cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSO, in igc_tx_cmd_type()
1151 cmd_type |= IGC_SET_FLAG(tx_flags, IGC_TX_FLAGS_TSTAMP, in igc_tx_cmd_type()
1162 u32 tx_flags, unsigned int paylen) in igc_tx_olinfo_status() argument
1167 olinfo_status |= (tx_flags & IGC_TX_FLAGS_CSUM) * in igc_tx_olinfo_status()
1172 olinfo_status |= (tx_flags & IGC_TX_FLAGS_IPV4) * in igc_tx_olinfo_status()
[all …]
/Linux-v5.15/net/mac80211/
Dscan.c610 u32 ratemask, u32 flags, u32 tx_flags, in ieee80211_send_scan_probe_req() argument
629 IEEE80211_SKB_CB(skb)->flags |= tx_flags; in ieee80211_send_scan_probe_req()
641 u32 flags = 0, tx_flags; in ieee80211_scan_state_send_probe() local
646 tx_flags = IEEE80211_TX_INTFL_OFFCHAN_TX_OK; in ieee80211_scan_state_send_probe()
648 tx_flags |= IEEE80211_TX_CTL_NO_CCK_RATE; in ieee80211_scan_state_send_probe()
663 tx_flags, local->hw.conf.chandef.chan); in ieee80211_scan_state_send_probe()
/Linux-v5.15/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c52 if (tx_flags(wqe) & SIW_WQE_INLINE) { in siw_try_1seg()
149 if (tx_flags(wqe) & SIW_WQE_SOLICITED) in siw_qp_prepare_tx()
171 if (tx_flags(wqe) & SIW_WQE_SOLICITED) in siw_qp_prepare_tx()
280 !(tx_flags(wqe) & SIW_WQE_SIGNALLED)) in siw_qp_prepare_tx()
468 if (!(tx_flags(wqe) & SIW_WQE_INLINE)) { in siw_tx_hdt()
1059 if (tx_flags(wqe) & SIW_WQE_SIGNALLED) in siw_qp_sq_process()

1234567