Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c140 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()
2792 u32 tx_flags) in i40e_atr() argument
2819 if (!(tx_flags & (I40E_TX_FLAGS_IPV4 | I40E_TX_FLAGS_IPV6))) in i40e_atr()
2823 hdr.network = (tx_flags & I40E_TX_FLAGS_UDP_TUNNEL) ? in i40e_atr()
2829 if (tx_flags & I40E_TX_FLAGS_IPV4) { in i40e_atr()
2881 flex_ptype |= (tx_flags & I40E_TX_FLAGS_IPV4) ? in i40e_atr()
2904 if (!(tx_flags & I40E_TX_FLAGS_UDP_TUNNEL)) in i40e_atr()
2941 u32 tx_flags = 0; in i40e_tx_prepare_vlan_flags() local
2958 tx_flags |= skb_vlan_tag_get(skb) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
[all …]
/linux-6.1.9/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()
1828 u32 tx_flags = 0; in iavf_tx_prepare_vlan_flags() local
1837 tx_flags |= skb_vlan_tag_get(skb) << IAVF_TX_FLAGS_VLAN_SHIFT; in iavf_tx_prepare_vlan_flags()
1839 tx_flags |= IAVF_TX_FLAGS_HW_OUTER_SINGLE_VLAN; in iavf_tx_prepare_vlan_flags()
1841 tx_flags |= IAVF_TX_FLAGS_HW_VLAN; in iavf_tx_prepare_vlan_flags()
1847 *flags = tx_flags; in iavf_tx_prepare_vlan_flags()
1974 static int iavf_tx_enable_csum(struct sk_buff *skb, u32 *tx_flags, in iavf_tx_enable_csum() argument
2006 if (*tx_flags & IAVF_TX_FLAGS_IPV4) { in iavf_tx_enable_csum()
2007 tunnel |= (*tx_flags & IAVF_TX_FLAGS_TSO) ? in iavf_tx_enable_csum()
2012 } else if (*tx_flags & IAVF_TX_FLAGS_IPV6) { in iavf_tx_enable_csum()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_txrx.c88 tx_buf->tx_flags = ICE_TX_FLAGS_DUMMY_PKT; in ice_prgm_fdir_fltr()
116 if (tx_buf->tx_flags & ICE_TX_FLAGS_DUMMY_PKT) in ice_unmap_and_free_tx_buf()
1605 if (first->tx_flags & ICE_TX_FLAGS_HW_VLAN) { in ice_tx_map()
1607 td_tag = (first->tx_flags & ICE_TX_FLAGS_VLAN_M) >> in ice_tx_map()
1773 first->tx_flags |= ICE_TX_FLAGS_IPV4; in ice_tx_csum()
1775 first->tx_flags |= ICE_TX_FLAGS_IPV6; in ice_tx_csum()
1782 if (first->tx_flags & ICE_TX_FLAGS_IPV4) { in ice_tx_csum()
1783 tunnel |= (first->tx_flags & ICE_TX_FLAGS_TSO) ? in ice_tx_csum()
1787 } else if (first->tx_flags & ICE_TX_FLAGS_IPV6) { in ice_tx_csum()
1803 first->tx_flags |= ICE_TX_FLAGS_TUNNEL; in ice_tx_csum()
[all …]
Dice_dcb_lib.c919 if ((first->tx_flags & ICE_TX_FLAGS_HW_VLAN || in ice_tx_prepare_vlan_flags_dcb()
920 first->tx_flags & ICE_TX_FLAGS_HW_OUTER_SINGLE_VLAN) || in ice_tx_prepare_vlan_flags_dcb()
922 first->tx_flags &= ~ICE_TX_FLAGS_VLAN_PR_M; in ice_tx_prepare_vlan_flags_dcb()
924 first->tx_flags |= (skb->priority & 0x7) << in ice_tx_prepare_vlan_flags_dcb()
930 first->tx_flags |= ICE_TX_FLAGS_HW_OUTER_SINGLE_VLAN; in ice_tx_prepare_vlan_flags_dcb()
932 first->tx_flags |= ICE_TX_FLAGS_HW_VLAN; in ice_tx_prepare_vlan_flags_dcb()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c31 __le16 fc, __le32 *tx_flags) in iwlagn_tx_cmd_protection() argument
36 *tx_flags |= TX_CMD_FLG_PROT_REQUIRE_MSK; in iwlagn_tx_cmd_protection()
49 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() local
54 tx_flags |= TX_CMD_FLG_ACK_MSK; in iwlagn_tx_cmd_build_basic()
56 tx_flags &= ~TX_CMD_FLG_ACK_MSK; in iwlagn_tx_cmd_build_basic()
59 tx_flags |= TX_CMD_FLG_TSF_MSK; in iwlagn_tx_cmd_build_basic()
61 tx_flags |= TX_CMD_FLG_ACK_MSK | TX_CMD_FLG_IMM_BA_RSP_MASK; in iwlagn_tx_cmd_build_basic()
68 tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_tx_cmd_build_basic()
73 tx_flags |= TX_CMD_FLG_MORE_FRAG_MSK; in iwlagn_tx_cmd_build_basic()
78 tx_flags &= ~TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_tx_cmd_build_basic()
[all …]
/linux-6.1.9/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()
643 unsigned long tx_flags, tx_free_flags; in ipc_tx_send() local
659 spin_lock_irqsave(&cl->tx_list_spinlock, tx_flags); in ipc_tx_send()
661 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_send()
666 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_send()
709 spin_unlock_irqrestore(&cl->tx_list_spinlock, tx_flags); in ipc_tx_send()
752 unsigned long tx_flags, tx_free_flags; in ishtp_cl_send_msg_dma() local
758 spin_lock_irqsave(&cl->tx_list_spinlock, tx_flags); in ishtp_cl_send_msg_dma()
[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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c200 u32 tx_flags = le32_to_cpu(tx_cmd->tx_flags); in iwl_mvm_set_tx_cmd() local
208 tx_flags |= TX_CMD_FLG_ACK; in iwl_mvm_set_tx_cmd()
210 tx_flags &= ~TX_CMD_FLG_ACK; in iwl_mvm_set_tx_cmd()
213 tx_flags |= TX_CMD_FLG_TSF; in iwl_mvm_set_tx_cmd()
216 tx_flags |= TX_CMD_FLG_MORE_FRAG; in iwl_mvm_set_tx_cmd()
221 tx_flags &= ~TX_CMD_FLG_SEQ_CTL; in iwl_mvm_set_tx_cmd()
228 tx_flags |= TX_CMD_FLG_ACK | TX_CMD_FLG_BAR; in iwl_mvm_set_tx_cmd()
242 tx_flags |= TX_CMD_FLG_SEQ_CTL; in iwl_mvm_set_tx_cmd()
244 tx_flags &= ~TX_CMD_FLG_SEQ_CTL; in iwl_mvm_set_tx_cmd()
253 tx_flags |= iwl_mvm_bt_coex_tx_prio(mvm, hdr, info, ac) << in iwl_mvm_set_tx_cmd()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2001 struct sk_buff *skb, u32 tx_flags, u8 *hdr_len) in igbvf_tso() argument
2067 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tso()
2075 u32 tx_flags, __be16 protocol) in igbvf_tx_csum() argument
2082 if (!(tx_flags & IGBVF_TX_FLAGS_VLAN)) in igbvf_tx_csum()
2109 vlan_macip_lens |= tx_flags & IGBVF_TX_FLAGS_VLAN_MASK; in igbvf_tx_csum()
2218 int tx_flags, int count, in igbvf_tx_queue_adv() argument
2230 if (tx_flags & IGBVF_TX_FLAGS_VLAN) in igbvf_tx_queue_adv()
2233 if (tx_flags & IGBVF_TX_FLAGS_TSO) { in igbvf_tx_queue_adv()
2240 if (tx_flags & IGBVF_TX_FLAGS_IPV4) in igbvf_tx_queue_adv()
2243 } else if (tx_flags & IGBVF_TX_FLAGS_CSUM) { in igbvf_tx_queue_adv()
[all …]
/linux-6.1.9/drivers/net/can/dev/
Dskb.c74 if (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) in can_put_echo_skb()
75 skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS; in can_put_echo_skb()
111 if (skb_shinfo(skb)->tx_flags & SKBTX_IN_PROGRESS) in __can_get_echo_skb()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c769 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tso()
865 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tx_csum()
880 static u8 fm10k_tx_desc_flags(struct sk_buff *skb, u32 tx_flags) in fm10k_tx_desc_flags() argument
886 desc_flags |= FM10K_SET_FLAG(tx_flags, FM10K_TX_FLAGS_CSUM, in fm10k_tx_desc_flags()
943 u32 tx_flags = first->tx_flags; in fm10k_tx_map() local
945 u8 flags = fm10k_tx_desc_flags(skb, tx_flags); in fm10k_tx_map()
1058 u32 tx_flags = 0; in fm10k_xmit_frame_ring() local
1084 first->tx_flags = tx_flags; in fm10k_xmit_frame_ring()
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_packet.c236 if (sparx5->ptp && skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) { in sparx5_port_xmit_impl()
261 if (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP && in sparx5_port_xmit_impl()
273 if (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP && in sparx5_port_xmit_impl()
/linux-6.1.9/include/uapi/linux/can/
Disotp.h119 __u8 tx_flags; /* set into struct canfd_frame.flags */ member
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c301 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbevf_clean_tx_irq()
3819 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3824 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3853 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3895 first->tx_flags |= IXGBE_TX_FLAGS_CSUM; in ixgbevf_tx_csum()
3901 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum()
3910 static __le32 ixgbevf_tx_cmd_type(u32 tx_flags) in ixgbevf_tx_cmd_type() argument
3918 if (tx_flags & IXGBE_TX_FLAGS_VLAN) in ixgbevf_tx_cmd_type()
3922 if (tx_flags & IXGBE_TX_FLAGS_TSO) in ixgbevf_tx_cmd_type()
3929 u32 tx_flags, unsigned int paylen) in ixgbevf_tx_olinfo_status() argument
[all …]
/linux-6.1.9/drivers/net/ethernet/sun/
Dsunhme.c174 txd->tx_flags = (__force hme32)flags; in sbus_hme_write_txd()
203 txd->tx_flags = (__force hme32)cpu_to_le32(flags); in pci_hme_write_txd()
236 (__txd)->tx_flags = (__force hme32)(u32)(__flags); \
253 (__txd)->tx_flags = (__force hme32)cpu_to_le32(__flags); \
1139 (hme_read_desc32(hp, &txd->tx_flags) in happy_meal_clean_rings()
1144 (hme_read_desc32(hp, &txd->tx_flags) in happy_meal_clean_rings()
1816 flags = hme_read_desc32(hp, &this->tx_flags); in happy_meal_tx()
1825 flags = hme_read_desc32(hp, &txbase[last].tx_flags); in happy_meal_tx()
1834 dma_len = hme_read_desc32(hp, &this->tx_flags); in happy_meal_tx()
2126 len = hme_read_desc32(hp, &this->tx_flags); in unmap_partial_tx_skb()
[all …]
/linux-6.1.9/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-6.1.9/drivers/dma/ti/
Dedma.c1021 unsigned long tx_flags, void *context) in edma_prep_slave_sg() argument
1111 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_slave_sg()
1116 size_t len, unsigned long tx_flags) in edma_prep_dma_memcpy() argument
1191 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_memcpy()
1220 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_memcpy()
1224 if (!(tx_flags & DMA_PREP_INTERRUPT)) in edma_prep_dma_memcpy()
1227 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_memcpy()
1233 unsigned long tx_flags) in edma_prep_dma_interleaved() argument
1297 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_interleaved()
1302 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_interleaved()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.h55 if (!(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) in mlx5e_use_ptpsq()
/linux-6.1.9/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()
1069 if (tx_flags(wqe) & SIW_WQE_SIGNALLED) in siw_qp_sq_process()

1234567