Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.h107 struct rtw_tx_pkt_info *pkt_info,
110 void rtw_tx_fill_tx_desc(struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb);
114 struct rtw_tx_pkt_info *pkt_info,
119 struct rtw_tx_pkt_info *pkt_info,
123 struct rtw_tx_pkt_info *pkt_info,
Dhci.h11 struct rtw_tx_pkt_info *pkt_info,
34 struct rtw_tx_pkt_info *pkt_info, in rtw_hci_tx_write() argument
37 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
Dpci.c833 struct rtw_tx_pkt_info *pkt_info, in rtw_pci_tx_write_data() argument
859 pkt_info->qsel = rtw_pci_get_tx_qsel(skb, queue); in rtw_pci_tx_write_data()
860 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_pci_tx_write_data()
881 tx_data->sn = pkt_info->sn; in rtw_pci_tx_write_data()
905 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_rsvd_page() local
909 skb = rtw_tx_write_data_rsvd_page_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_rsvd_page()
913 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_BCN); in rtw_pci_write_data_rsvd_page()
930 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_h2c() local
933 skb = rtw_tx_write_data_h2c_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_h2c()
937 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_H2C); in rtw_pci_write_data_h2c()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_rxdesc.c117 struct odm_per_pkt_info pkt_info; in update_recvframe_phyinfo_88e() local
122 pkt_info.bPacketMatchBSSID = ((!ieee80211_is_ctl(fc)) && in update_recvframe_phyinfo_88e()
127 pkt_info.bPacketToSelf = pkt_info.bPacketMatchBSSID && in update_recvframe_phyinfo_88e()
131 pkt_info.bPacketBeacon = pkt_info.bPacketMatchBSSID && ieee80211_is_beacon(fc); in update_recvframe_phyinfo_88e()
132 if (pkt_info.bPacketBeacon) { in update_recvframe_phyinfo_88e()
141 pkt_info.StationID = 0xFF; in update_recvframe_phyinfo_88e()
144 pkt_info.StationID = psta->mac_id; in update_recvframe_phyinfo_88e()
145 pkt_info.Rate = pattrib->mcs_rate; in update_recvframe_phyinfo_88e()
147 ODM_PhyStatusQuery(&pHalData->odmpriv, pPHYInfo, (u8 *)pphy_status, &(pkt_info), padapter); in update_recvframe_phyinfo_88e()
150 if (pkt_info.bPacketMatchBSSID && in update_recvframe_phyinfo_88e()
[all …]
/linux-6.1.9/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_tcp_all_headers(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 …]
/linux-6.1.9/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-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c91 struct odm_packet_info pkt_info = { in update_recvframe_phyinfo() local
105 pkt_info.bssid_match = ((!IsFrameTypeCtrl(wlanhdr)) && in update_recvframe_phyinfo()
111 pkt_info.to_self = pkt_info.bssid_match && in update_recvframe_phyinfo()
115 pkt_info.is_beacon = pkt_info.bssid_match && in update_recvframe_phyinfo()
120 pkt_info.station_id = 0xFF; in update_recvframe_phyinfo()
125 pkt_info.station_id = psta->mac_id; in update_recvframe_phyinfo()
127 pkt_info.data_rate = pattrib->data_rate; in update_recvframe_phyinfo()
132 (u8 *)pphy_status, &(pkt_info)); in update_recvframe_phyinfo()
138 pkt_info.bssid_match && in update_recvframe_phyinfo()
145 } else if (pkt_info.to_self || pkt_info.is_beacon) { in update_recvframe_phyinfo()
Dodm_HWConfig.c104 struct odm_packet_info *pkt_info) in odm_rx_phy_status_parsing() argument
115 is_cck_rate = pkt_info->data_rate <= DESC_RATE11M; in odm_rx_phy_status_parsing()
232 odm_parsing_cfo(dm_odm, pkt_info, phy_sta_rpt->path_cfotail); in odm_rx_phy_status_parsing()
397 u8 *phy_status, struct odm_packet_info *pkt_info) in odm_phy_status_query() argument
400 odm_rx_phy_status_parsing(dm_odm, phy_info, phy_status, pkt_info); in odm_phy_status_query()
403 odm_Process_RSSIForDM(dm_odm, phy_info, pkt_info); in odm_phy_status_query()
Dodm_CfoTracking.c190 struct odm_packet_info *pkt_info = pkt_info_void; in odm_parsing_cfo() local
197 if (pkt_info->station_id != 0) { in odm_parsing_cfo()
Dodm_HWConfig.h63 u8 *phy_status, struct odm_packet_info *pkt_info);
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dxdpwall.c93 struct pkt_info { struct
149 filter_src_dst_ip(struct pkt_info* info, struct fw_match_info* match_info) in filter_src_dst_ip()
180 static __always_inline void set_tcp_flags(struct pkt_info *info, in set_tcp_flags()
191 parse_tcp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_tcp()
206 parse_udp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_udp()
235 struct pkt_info *info, struct fw_match_info *match_info) in filter_transport_hdr()
257 parse_gue_v6(struct pkt_info *info, struct ipv6hdr *ip6h, void *data_end) in parse_gue_v6()
298 static __always_inline __u8 parse_ipv6_gue(struct pkt_info *info, in parse_ipv6_gue()
323 struct pkt_info info = {}; in edgewall()
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c429 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_set_frag_to_skb() argument
439 page_info += t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_set_frag_to_skb()
445 data_bus_addr = le32_to_cpu(pkt_info->pd.data_addr_h); in t7xx_dpmaif_set_frag_to_skb()
446 data_bus_addr = (data_bus_addr << 32) + le32_to_cpu(pkt_info->pd.data_addr_l); in t7xx_dpmaif_set_frag_to_skb()
450 data_len = FIELD_GET(PD_PIT_DATA_LEN, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_set_frag_to_skb()
461 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_get_frag() argument
464 unsigned int cur_bid = t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_get_frag()
471 ret = t7xx_dpmaif_set_frag_to_skb(rxq, pkt_info, skb_info->cur_skb); in t7xx_dpmaif_get_frag()
659 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_set_data_to_skb() argument
670 bat_skb += t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_set_data_to_skb()
[all …]
/linux-6.1.9/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c728 typedef int (*intel_pt_pkt_cb_t)(struct intel_pt_pkt_info *pkt_info);
734 struct intel_pt_pkt_info pkt_info; in intel_pt_pkt_lookahead() local
740 pkt_info.decoder = decoder; in intel_pt_pkt_lookahead()
741 pkt_info.pos = decoder->pos; in intel_pt_pkt_lookahead()
742 pkt_info.pkt_len = decoder->pkt_step; in intel_pt_pkt_lookahead()
743 pkt_info.last_packet_type = decoder->last_packet_type; in intel_pt_pkt_lookahead()
744 pkt_info.data = data; in intel_pt_pkt_lookahead()
748 pkt_info.pos += pkt_info.pkt_len; in intel_pt_pkt_lookahead()
749 buf += pkt_info.pkt_len; in intel_pt_pkt_lookahead()
750 len -= pkt_info.pkt_len; in intel_pt_pkt_lookahead()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c554 __le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info; in ixgbevf_ipsec_rx() local
573 if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV4)) { in ixgbevf_ipsec_rx()
577 } else if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV6)) { in ixgbevf_ipsec_rx()
585 switch (pkt_info & ipsec_pkt_types) { in ixgbevf_ipsec_rx()
Ddefines.h214 __le16 pkt_info; /* RSS, Pkt type */ member
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_base.h58 __le16 pkt_info; /*RSS type, Pkt type*/ member
/linux-6.1.9/drivers/net/ethernet/ti/
Dnetcp_core.c116 static void get_desc_info(u32 *desc_info, u32 *pkt_info, in get_desc_info() argument
120 *pkt_info = le32_to_cpu(desc->packet_info); in get_desc_info()
158 static void set_desc_info(u32 desc_info, u32 pkt_info, in set_desc_info() argument
162 desc->packet_info = cpu_to_le32(pkt_info); in set_desc_info()
855 u32 desc_info, pkt_info; in netcp_allocate_rx_buf() local
910 pkt_info = KNAV_DMA_DESC_HAS_EPIB; in netcp_allocate_rx_buf()
911 pkt_info |= KNAV_DMA_NUM_PS_WORDS << KNAV_DMA_DESC_PSLEN_SHIFT; in netcp_allocate_rx_buf()
912 pkt_info |= (netcp->rx_queue_id & KNAV_DMA_DESC_RETQ_MASK) << in netcp_allocate_rx_buf()
917 set_desc_info(desc_info, pkt_info, hwdesc); in netcp_allocate_rx_buf()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c1161 __le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info; in ixgbe_ipsec_rx() local
1180 if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV4)) { in ixgbe_ipsec_rx()
1184 } else if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV6)) { in ixgbe_ipsec_rx()
1192 switch (pkt_info & ipsec_pkt_types) { in ixgbe_ipsec_rx()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
De1000_82575.h71 __le16 pkt_info; /* RSS type, Packet type */ member
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dvf.h46 __le16 pkt_info; /* RSS/Packet type */ member
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_mgmt.h334 __le32 pkt_info; /* Packet specific data */ member
614 __le32 pkt_info; member

12