Home
last modified time | relevance | path

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

12345

/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c53 if (tx_buffer->tx_flags & IAVF_TX_FLAGS_FD_SB) in iavf_unmap_and_free_tx_resource()
1699 u32 tx_flags = 0; in iavf_tx_prepare_vlan_flags() local
1708 tx_flags |= skb_vlan_tag_get(skb) << IAVF_TX_FLAGS_VLAN_SHIFT; in iavf_tx_prepare_vlan_flags()
1710 tx_flags |= IAVF_TX_FLAGS_HW_OUTER_SINGLE_VLAN; in iavf_tx_prepare_vlan_flags()
1712 tx_flags |= IAVF_TX_FLAGS_HW_VLAN; in iavf_tx_prepare_vlan_flags()
1718 *flags = tx_flags; in iavf_tx_prepare_vlan_flags()
1845 static int iavf_tx_enable_csum(struct sk_buff *skb, u32 *tx_flags, in iavf_tx_enable_csum() argument
1877 if (*tx_flags & IAVF_TX_FLAGS_IPV4) { in iavf_tx_enable_csum()
1878 tunnel |= (*tx_flags & IAVF_TX_FLAGS_TSO) ? in iavf_tx_enable_csum()
1883 } else if (*tx_flags & IAVF_TX_FLAGS_IPV6) { in iavf_tx_enable_csum()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c136 tx_buf->tx_flags = I40E_TX_FLAGS_FD_SB; in i40e_program_fdir_filter()
755 if (tx_buffer->tx_flags & I40E_TX_FLAGS_FD_SB) in i40e_unmap_and_free_tx_resource()
2858 u32 tx_flags) in i40e_atr() argument
2885 if (!(tx_flags & (I40E_TX_FLAGS_IPV4 | I40E_TX_FLAGS_IPV6))) in i40e_atr()
2889 hdr.network = (tx_flags & I40E_TX_FLAGS_UDP_TUNNEL) ? in i40e_atr()
2895 if (tx_flags & I40E_TX_FLAGS_IPV4) { in i40e_atr()
2947 flex_ptype |= (tx_flags & I40E_TX_FLAGS_IPV4) ? in i40e_atr()
2970 if (!(tx_flags & I40E_TX_FLAGS_UDP_TUNNEL)) in i40e_atr()
3005 u32 tx_flags = 0; in i40e_tx_prepare_vlan_flags() local
3022 tx_flags |= skb_vlan_tag_get(skb) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
[all …]
/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst528 - 在 hard_start_xmit() 中,检查 (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)
530 - 如果此 skb 和请求都可能,则声明驱动程序正在执行时间戳,通过设置 skb_shinfo(skb)->tx_flags
533 skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
652 skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
660 == true``")和当前 skb 是否需要 TX 时间戳("``skb_shinfo(skb)->tx_flags
661 & SKBTX_HW_TSTAMP``")。如果为真,则设置 "``skb_shinfo(skb)->tx_flags
667 型的错误所在:驱动程序采取捷径,只检查 "``skb_shinfo(skb)->tx_flags &
672 针对 "``skb_shinfo(skb)->tx_flags & SKBTX_IN_PROGRESS``",还针对
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtx.c32 __le16 fc, __le32 *tx_flags) in iwlagn_tx_cmd_protection() argument
37 *tx_flags |= TX_CMD_FLG_PROT_REQUIRE_MSK; in iwlagn_tx_cmd_protection()
50 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() local
55 tx_flags |= TX_CMD_FLG_ACK_MSK; in iwlagn_tx_cmd_build_basic()
57 tx_flags &= ~TX_CMD_FLG_ACK_MSK; in iwlagn_tx_cmd_build_basic()
60 tx_flags |= TX_CMD_FLG_TSF_MSK; in iwlagn_tx_cmd_build_basic()
62 tx_flags |= TX_CMD_FLG_ACK_MSK | TX_CMD_FLG_IMM_BA_RSP_MASK; in iwlagn_tx_cmd_build_basic()
69 tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_tx_cmd_build_basic()
74 tx_flags |= TX_CMD_FLG_MORE_FRAG_MSK; in iwlagn_tx_cmd_build_basic()
79 tx_flags &= ~TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_tx_cmd_build_basic()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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/drivers/media/cec/i2c/
H A 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/drivers/net/wireless/microchip/wilc1000/
H A 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/include/trace/events/
H A Dnet.h34 __field( u8, tx_flags )
57 __entry->tx_flags = skb_shinfo(skb)->tx_flags;
64 TP_printk("dev=%s queue_mapping=%u skbaddr=%p vlan_tagged=%d vlan_proto=0x%04x vlan_tci=0x%04x protocol=0x%04x ip_summed=%d len=%u data_len=%u network_offset=%d transport_offset_valid=%d transport_offset=%d tx_flags=%d gso_size=%d gso_segs=%d gso_type=%#x net_cookie=%llu",
70 __entry->transport_offset, __entry->tx_flags,
/linux/drivers/net/can/dev/
H A Dskb.c79 if (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) in can_put_echo_skb()
80 skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS; in can_put_echo_skb()
116 if (skb_shinfo(skb)->tx_flags & SKBTX_IN_PROGRESS) in __can_get_echo_skb()
/linux/drivers/net/ethernet/sun/
H A Dsunhme.c171 txd->tx_flags = (__force hme32)flags; in sbus_hme_write_txd()
200 txd->tx_flags = (__force hme32)cpu_to_le32(flags); in pci_hme_write_txd()
233 (__txd)->tx_flags = (__force hme32)(u32)(__flags); \
250 (__txd)->tx_flags = (__force hme32)cpu_to_le32(__flags); \
1190 (hme_read_desc32(hp, &txd->tx_flags) in happy_meal_clean_rings()
1195 (hme_read_desc32(hp, &txd->tx_flags) in happy_meal_clean_rings()
1711 flags = hme_read_desc32(hp, &this->tx_flags); in happy_meal_tx()
1720 flags = hme_read_desc32(hp, &txbase[last].tx_flags); in happy_meal_tx()
1729 dma_len = hme_read_desc32(hp, &this->tx_flags); in happy_meal_tx()
1965 len = hme_read_desc32(hp, &this->tx_flags); in unmap_partial_tx_skb()
[all …]
H A Dsunbmac.c250 bb->be_txd[i].tx_flags = bb->be_txd[i].tx_addr = 0; in bigmac_init_rings()
771 this, this->tx_flags, this->tx_addr)); in bigmac_tx()
773 if (this->tx_flags & TXD_OWN) in bigmac_tx()
968 bp->bmac_block->be_txd[entry].tx_flags = TXD_UPDATE; in bigmac_start_xmit()
971 bp->bmac_block->be_txd[entry].tx_flags = in bigmac_start_xmit()
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c305 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbevf_clean_tx_irq()
3857 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3862 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3891 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3933 first->tx_flags |= IXGBE_TX_FLAGS_CSUM; in ixgbevf_tx_csum()
3939 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum()
3948 static __le32 ixgbevf_tx_cmd_type(u32 tx_flags) in ixgbevf_tx_cmd_type() argument
3956 if (tx_flags & IXGBE_TX_FLAGS_VLAN) in ixgbevf_tx_cmd_type()
3960 if (tx_flags & IXGBE_TX_FLAGS_TSO) in ixgbevf_tx_cmd_type()
3967 u32 tx_flags, unsigned int paylen) in ixgbevf_tx_olinfo_status() argument
[all …]
/linux/include/uapi/linux/can/
H A Disotp.h119 __u8 tx_flags; /* set into struct canfd_frame.flags */ member
/linux/drivers/net/wireless/intel/iwlegacy/
H A 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 …]
H A D4965-mac.c930 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in il4965_request_scan()
1490 __le32 tx_flags = tx_cmd->tx_flags; in il4965_tx_cmd_build_basic() local
1494 tx_flags |= TX_CMD_FLG_ACK_MSK; in il4965_tx_cmd_build_basic()
1496 tx_flags |= TX_CMD_FLG_SEQ_CTL_MSK; in il4965_tx_cmd_build_basic()
1499 tx_flags |= TX_CMD_FLG_TSF_MSK; in il4965_tx_cmd_build_basic()
1501 tx_flags &= (~TX_CMD_FLG_ACK_MSK); in il4965_tx_cmd_build_basic()
1502 tx_flags |= TX_CMD_FLG_SEQ_CTL_MSK; in il4965_tx_cmd_build_basic()
1506 tx_flags |= TX_CMD_FLG_ACK_MSK | TX_CMD_FLG_IMM_BA_RSP_MASK; in il4965_tx_cmd_build_basic()
1510 tx_flags |= TX_CMD_FLG_MORE_FRAG_MSK; in il4965_tx_cmd_build_basic()
1515 tx_flags &= ~TX_CMD_FLG_SEQ_CTL_MSK; in il4965_tx_cmd_build_basic()
[all …]
H A D3945.c693 __le32 tx_flags; in il3945_hw_build_tx_cmd_rate() local
698 tx_flags = tx_cmd->tx_flags; in il3945_hw_build_tx_cmd_rate()
714 tx_cmd->tx_flags = tx_flags; in il3945_hw_build_tx_cmd_rate()
725 le32_to_cpu(tx_cmd->tx_flags), tx_cmd->supp_rates[1], in il3945_hw_build_tx_cmd_rate()
2434 tx_beacon_cmd->tx.tx_flags = in il3945_hw_get_beacon_cmd()
/linux/drivers/dma/ti/
H A Dedma.c1012 unsigned long tx_flags, void *context) in edma_prep_slave_sg() argument
1102 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_slave_sg()
1107 size_t len, unsigned long tx_flags) in edma_prep_dma_memcpy() argument
1182 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_memcpy()
1211 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_memcpy()
1215 if (!(tx_flags & DMA_PREP_INTERRUPT)) in edma_prep_dma_memcpy()
1218 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_memcpy()
1224 unsigned long tx_flags) in edma_prep_dma_interleaved() argument
1288 if (tx_flags & DMA_PREP_INTERRUPT) in edma_prep_dma_interleaved()
1293 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_interleaved()
[all …]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c61 if (tx_flags(wqe) & SIW_WQE_INLINE) { in siw_try_1seg()
147 if (tx_flags(wqe) & SIW_WQE_SOLICITED) in siw_qp_prepare_tx()
169 if (tx_flags(wqe) & SIW_WQE_SOLICITED) in siw_qp_prepare_tx()
272 !(tx_flags(wqe) & SIW_WQE_SIGNALLED)) in siw_qp_prepare_tx()
474 if (!(tx_flags(wqe) & SIW_WQE_INLINE)) { in siw_tx_hdt()
1060 if (tx_flags(wqe) & SIW_WQE_SIGNALLED) in siw_qp_sq_process()
/linux/drivers/infiniband/hw/hfi1/
H A Druc.c175 priv->s_ahg->tx_flags |= SDMA_TXREQ_F_AHG_COPY; in build_ahg()
183 priv->s_ahg->tx_flags |= SDMA_TXREQ_F_USE_AHG; in build_ahg()
403 priv->s_ahg->tx_flags = 0; in hfi1_make_ruc_header()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb_lib.c937 if ((first->tx_flags & ICE_TX_FLAGS_HW_VLAN || in ice_tx_prepare_vlan_flags_dcb()
938 first->tx_flags & ICE_TX_FLAGS_HW_OUTER_SINGLE_VLAN) || in ice_tx_prepare_vlan_flags_dcb()
947 first->tx_flags |= ICE_TX_FLAGS_HW_OUTER_SINGLE_VLAN; in ice_tx_prepare_vlan_flags_dcb()
949 first->tx_flags |= ICE_TX_FLAGS_HW_VLAN; in ice_tx_prepare_vlan_flags_dcb()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c1387 if (tx_buffer->tx_flags & IXGBE_TX_FLAGS_IPSEC) in ixgbe_clean_tx_irq()
8758 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbe_tso()
8763 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbe_tso()
8799 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tso()
8818 if (!(first->tx_flags & (IXGBE_TX_FLAGS_HW_VLAN | in ixgbe_tx_csum()
8843 first->tx_flags |= IXGBE_TX_FLAGS_CSUM; in ixgbe_tx_csum()
8849 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbe_tx_csum()
8862 static u32 ixgbe_tx_cmd_type(struct sk_buff *skb, u32 tx_flags) in ixgbe_tx_cmd_type() argument
8870 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_HW_VLAN, in ixgbe_tx_cmd_type()
8874 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSO, in ixgbe_tx_cmd_type()
[all …]
/linux/net/mac80211/
H A Drc80211_minstrel_ht.h181 u32 tx_flags; member
/linux/net/ipv4/
H A Dip_output.c1051 if (cork->tx_flags & SKBTX_ANY_TSTAMP && in __ip_append_data()
1189 skb_shinfo(skb)->tx_flags = cork->tx_flags; in __ip_append_data()
1190 cork->tx_flags = 0; in __ip_append_data()
1336 cork->tx_flags = 0; in ip_setup_cork()
1337 sock_tx_timestamp(sk, &ipc->sockc, &cork->tx_flags); in ip_setup_cork()
/linux/net/tls/
H A Dtls_sw.c413 int tx_flags, rc = 0; in tls_tx_records() local
420 tx_flags = rec->tx_flags; in tls_tx_records()
422 tx_flags = flags; in tls_tx_records()
424 rc = tls_push_partial_record(sk, tls_ctx, tx_flags); in tls_tx_records()
440 tx_flags = rec->tx_flags; in tls_tx_records()
442 tx_flags = flags; in tls_tx_records()
447 0, tx_flags); in tls_tx_records()
775 rec->tx_flags = flags; in tls_push_record()
/linux/drivers/net/ethernet/sis/
H A Dsis900.c1414 u32 tx_flags = 0, rx_flags = 0; in sis900_set_mode() local
1417 tx_flags = TxATP | (DMA_BURST_64 << TxMXDMA_shift) | in sis900_set_mode()
1421 tx_flags = TxATP | (DMA_BURST_512 << TxMXDMA_shift) | in sis900_set_mode()
1428 tx_flags |= (TxDRNT_10 << TxDRNT_shift); in sis900_set_mode()
1431 tx_flags |= (TxDRNT_100 << TxDRNT_shift); in sis900_set_mode()
1435 tx_flags |= (TxCSI | TxHBI); in sis900_set_mode()
1444 sw32(txcfg, tx_flags); in sis900_set_mode()

12345