Home
last modified time | relevance | path

Searched refs:pkt_info (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dtx.c35 void rtw_tx_fill_tx_desc(struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb) in rtw_tx_fill_tx_desc() argument
39 SET_TX_DESC_TXPKTSIZE(txdesc, pkt_info->tx_pkt_size); in rtw_tx_fill_tx_desc()
40 SET_TX_DESC_OFFSET(txdesc, pkt_info->offset); in rtw_tx_fill_tx_desc()
41 SET_TX_DESC_PKT_OFFSET(txdesc, pkt_info->pkt_offset); in rtw_tx_fill_tx_desc()
42 SET_TX_DESC_QSEL(txdesc, pkt_info->qsel); in rtw_tx_fill_tx_desc()
43 SET_TX_DESC_BMC(txdesc, pkt_info->bmc); in rtw_tx_fill_tx_desc()
44 SET_TX_DESC_RATE_ID(txdesc, pkt_info->rate_id); in rtw_tx_fill_tx_desc()
45 SET_TX_DESC_DATARATE(txdesc, pkt_info->rate); in rtw_tx_fill_tx_desc()
46 SET_TX_DESC_DISDATAFB(txdesc, pkt_info->dis_rate_fallback); in rtw_tx_fill_tx_desc()
47 SET_TX_DESC_USE_RATE(txdesc, pkt_info->use_rate); in rtw_tx_fill_tx_desc()
[all …]
Dtx.h99 struct rtw_tx_pkt_info *pkt_info,
102 void rtw_tx_fill_tx_desc(struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb);
106 struct rtw_tx_pkt_info *pkt_info,
111 struct rtw_tx_pkt_info *pkt_info,
115 struct rtw_tx_pkt_info *pkt_info,
Dhci.h11 struct rtw_tx_pkt_info *pkt_info,
33 struct rtw_tx_pkt_info *pkt_info, in rtw_hci_tx_write() argument
36 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
Dpci.c730 struct rtw_tx_pkt_info *pkt_info, in rtw_pci_tx_write_data() argument
756 pkt_info->qsel = rtw_pci_get_tx_qsel(skb, queue); in rtw_pci_tx_write_data()
757 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_pci_tx_write_data()
778 tx_data->sn = pkt_info->sn; in rtw_pci_tx_write_data()
802 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_rsvd_page() local
806 skb = rtw_tx_write_data_rsvd_page_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_rsvd_page()
810 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_BCN); in rtw_pci_write_data_rsvd_page()
827 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_h2c() local
830 skb = rtw_tx_write_data_h2c_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_h2c()
834 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_H2C); in rtw_pci_write_data_h2c()
[all …]
Dfw.c935 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_fill_rsvd_page_desc() local
939 rtw_tx_rsvd_page_pkt_info_update(rtwdev, &pkt_info, skb, type); in rtw_fill_rsvd_page_desc()
942 rtw_tx_fill_tx_desc(&pkt_info, skb); in rtw_fill_rsvd_page_desc()
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_rxdesc.c136 struct odm_per_pkt_info pkt_info; in update_recvframe_phyinfo_88e() local
141 pkt_info.bPacketMatchBSSID = false; in update_recvframe_phyinfo_88e()
142 pkt_info.bPacketToSelf = false; in update_recvframe_phyinfo_88e()
143 pkt_info.bPacketBeacon = false; in update_recvframe_phyinfo_88e()
147 pkt_info.bPacketMatchBSSID = ((!IsFrameTypeCtrl(wlanhdr)) && in update_recvframe_phyinfo_88e()
152 pkt_info.bPacketToSelf = pkt_info.bPacketMatchBSSID && in update_recvframe_phyinfo_88e()
156 pkt_info.bPacketBeacon = pkt_info.bPacketMatchBSSID && in update_recvframe_phyinfo_88e()
159 if (pkt_info.bPacketBeacon) { in update_recvframe_phyinfo_88e()
168 pkt_info.StationID = 0xFF; in update_recvframe_phyinfo_88e()
171 pkt_info.StationID = psta->mac_id; in update_recvframe_phyinfo_88e()
[all …]
/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c64 struct xlgmac_pkt_info *pkt_info) in xlgmac_prep_vlan() argument
67 pkt_info->vlan_ctag = skb_vlan_tag_get(skb); in xlgmac_prep_vlan()
71 struct xlgmac_pkt_info *pkt_info) in xlgmac_prep_tso() argument
75 if (!XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_prep_tso()
84 pkt_info->header_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in xlgmac_prep_tso()
85 pkt_info->tcp_header_len = tcp_hdrlen(skb); in xlgmac_prep_tso()
86 pkt_info->tcp_payload_len = skb->len - pkt_info->header_len; in xlgmac_prep_tso()
87 pkt_info->mss = skb_shinfo(skb)->gso_size; in xlgmac_prep_tso()
89 XLGMAC_PR("header_len=%u\n", pkt_info->header_len); in xlgmac_prep_tso()
91 pkt_info->tcp_header_len, pkt_info->tcp_payload_len); in xlgmac_prep_tso()
[all …]
Ddwc-xlgmac-desc.c505 struct xlgmac_pkt_info *pkt_info; in xlgmac_map_tx_skb() local
515 pkt_info = &ring->pkt_info; in xlgmac_map_tx_skb()
516 pkt_info->desc_count = 0; in xlgmac_map_tx_skb()
517 pkt_info->length = 0; in xlgmac_map_tx_skb()
519 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb()
522 vlan = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb()
527 if ((tso && (pkt_info->mss != ring->tx.cur_mss)) || in xlgmac_map_tx_skb()
528 (vlan && (pkt_info->vlan_ctag != ring->tx.cur_vlan_ctag))) in xlgmac_map_tx_skb()
535 pkt_info->header_len, DMA_TO_DEVICE); in xlgmac_map_tx_skb()
541 desc_data->skb_dma_len = pkt_info->header_len; in xlgmac_map_tx_skb()
[all …]
Ddwc-xlgmac-hw.c709 struct xlgmac_pkt_info *pkt_info; in xlgmac_dev_xmit() local
716 pkt_info = &ring->pkt_info; in xlgmac_dev_xmit()
717 csum = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit()
720 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit()
723 vlan = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit()
727 if (tso && (pkt_info->mss != ring->tx.cur_mss)) in xlgmac_dev_xmit()
732 if (vlan && (pkt_info->vlan_ctag != ring->tx.cur_vlan_ctag)) in xlgmac_dev_xmit()
747 ring->coalesce_count += pkt_info->tx_packets; in xlgmac_dev_xmit()
750 else if (pkt_info->tx_packets > pdata->tx_frames) in xlgmac_dev_xmit()
753 pkt_info->tx_packets) in xlgmac_dev_xmit()
[all …]
Ddwc-xlgmac.h317 struct xlgmac_pkt_info pkt_info; member
/Linux-v5.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.c93 ring->pkt_info[tail].skb = skb; in xge_refill_buffers()
94 ring->pkt_info[tail].dma_addr = dma_addr; in xge_refill_buffers()
210 tx_ring->pkt_info[tail].skb = skb; in xge_start_xmit()
211 tx_ring->pkt_info[tail].dma_addr = dma_addr; in xge_start_xmit()
212 tx_ring->pkt_info[tail].pkt_buf = pkt_buf; in xge_start_xmit()
263 skb = tx_ring->pkt_info[head].skb; in xge_txc_poll()
264 dma_addr = tx_ring->pkt_info[head].dma_addr; in xge_txc_poll()
265 pkt_buf = tx_ring->pkt_info[head].pkt_buf; in xge_txc_poll()
314 skb = rx_ring->pkt_info[head].skb; in xge_rx_poll()
315 rx_ring->pkt_info[head].skb = NULL; in xge_rx_poll()
[all …]
Dring.h66 struct pkt_info { struct
82 struct pkt_info (*pkt_info); argument
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c93 struct odm_packet_info pkt_info = { in update_recvframe_phyinfo() local
108 pkt_info.bssid_match = ((!IsFrameTypeCtrl(wlanhdr)) && in update_recvframe_phyinfo()
114 pkt_info.to_self = pkt_info.bssid_match && in update_recvframe_phyinfo()
118 pkt_info.is_beacon = pkt_info.bssid_match && in update_recvframe_phyinfo()
123 pkt_info.station_id = 0xFF; in update_recvframe_phyinfo()
128 pkt_info.station_id = psta->mac_id; in update_recvframe_phyinfo()
132 pkt_info.data_rate = pattrib->data_rate; in update_recvframe_phyinfo()
137 (u8 *)pphy_status, &(pkt_info)); in update_recvframe_phyinfo()
143 pkt_info.bssid_match && in update_recvframe_phyinfo()
150 } else if (pkt_info.to_self || pkt_info.is_beacon) { in update_recvframe_phyinfo()
/Linux-v5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c605 typedef int (*intel_pt_pkt_cb_t)(struct intel_pt_pkt_info *pkt_info);
611 struct intel_pt_pkt_info pkt_info; in intel_pt_pkt_lookahead() local
617 pkt_info.decoder = decoder; in intel_pt_pkt_lookahead()
618 pkt_info.pos = decoder->pos; in intel_pt_pkt_lookahead()
619 pkt_info.pkt_len = decoder->pkt_step; in intel_pt_pkt_lookahead()
620 pkt_info.last_packet_type = decoder->last_packet_type; in intel_pt_pkt_lookahead()
621 pkt_info.data = data; in intel_pt_pkt_lookahead()
625 pkt_info.pos += pkt_info.pkt_len; in intel_pt_pkt_lookahead()
626 buf += pkt_info.pkt_len; in intel_pt_pkt_lookahead()
627 len -= pkt_info.pkt_len; in intel_pt_pkt_lookahead()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c543 __le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info; in ixgbevf_ipsec_rx() local
562 if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV4)) { in ixgbevf_ipsec_rx()
566 } else if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV6)) { in ixgbevf_ipsec_rx()
574 switch (pkt_info & ipsec_pkt_types) { in ixgbevf_ipsec_rx()
Ddefines.h214 __le16 pkt_info; /* RSS, Pkt type */ member
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_base.h58 __le16 pkt_info; /*RSS type, Pkt type*/ member
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c1156 __le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info; in ixgbe_ipsec_rx() local
1175 if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV4)) { in ixgbe_ipsec_rx()
1179 } else if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV6)) { in ixgbe_ipsec_rx()
1187 switch (pkt_info & ipsec_pkt_types) { in ixgbe_ipsec_rx()
/Linux-v5.10/drivers/net/ethernet/ti/
Dnetcp_core.c117 static void get_desc_info(u32 *desc_info, u32 *pkt_info, in get_desc_info() argument
121 *pkt_info = le32_to_cpu(desc->packet_info); in get_desc_info()
159 static void set_desc_info(u32 desc_info, u32 pkt_info, in set_desc_info() argument
163 desc->packet_info = cpu_to_le32(pkt_info); in set_desc_info()
856 u32 desc_info, pkt_info; in netcp_allocate_rx_buf() local
911 pkt_info = KNAV_DMA_DESC_HAS_EPIB; in netcp_allocate_rx_buf()
912 pkt_info |= KNAV_DMA_NUM_PS_WORDS << KNAV_DMA_DESC_PSLEN_SHIFT; in netcp_allocate_rx_buf()
913 pkt_info |= (netcp->rx_queue_id & KNAV_DMA_DESC_RETQ_MASK) << in netcp_allocate_rx_buf()
918 set_desc_info(desc_info, pkt_info, hwdesc); in netcp_allocate_rx_buf()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
De1000_82575.h71 __le16 pkt_info; /* RSS type, Packet type */ member
/Linux-v5.10/drivers/net/ethernet/intel/igbvf/
Dvf.h46 u16 pkt_info; /* RSS/Packet type */ member
/Linux-v5.10/drivers/net/wireless/rsi/
Drsi_mgmt.h334 __le32 pkt_info; /* Packet specific data */ member
614 __le32 pkt_info; member
Drsi_91x_mgmt.c1227 dynamic_frame->desc_dword2.pkt_info = in rsi_send_vap_dynamic_update()
1535 mgmt_frame->pkt_info = in rsi_eeprom_read()
1538 mgmt_frame->pkt_info |= cpu_to_le32((3 << RSI_EEPROM_HDR_SIZE_OFFSET) & in rsi_eeprom_read()
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_type.h711 __le16 pkt_info; /* RSS, Pkt type */ member
/Linux-v5.10/drivers/block/
Dpktcdvd.c79 #define pkt_info(pd, fmt, ...) \ macro
1462 pkt_info(pd, "%s packets, %u blocks, Mode-%c disc\n", in pkt_print_settings()
2024 pkt_info(pd, "maximum media speed: %d\n", *speed); in pkt_media_speed()
2162 pkt_info(pd, "%lukB available on disc\n", lba << 1); in pkt_open_dev()

12