/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | tx.c | 35 void rtw_tx_fill_tx_desc(struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb) in rtw_tx_fill_tx_desc() argument 40 if (pkt_info->qsel == TX_DESC_QSEL_HIGH) in rtw_tx_fill_tx_desc() 43 tx_desc->w0 = le32_encode_bits(pkt_info->tx_pkt_size, RTW_TX_DESC_W0_TXPKTSIZE) | in rtw_tx_fill_tx_desc() 44 le32_encode_bits(pkt_info->offset, RTW_TX_DESC_W0_OFFSET) | in rtw_tx_fill_tx_desc() 45 le32_encode_bits(pkt_info->bmc, RTW_TX_DESC_W0_BMC) | in rtw_tx_fill_tx_desc() 46 le32_encode_bits(pkt_info->ls, RTW_TX_DESC_W0_LS) | in rtw_tx_fill_tx_desc() 47 le32_encode_bits(pkt_info->dis_qselseq, RTW_TX_DESC_W0_DISQSELSEQ); in rtw_tx_fill_tx_desc() 49 tx_desc->w1 = le32_encode_bits(pkt_info->qsel, RTW_TX_DESC_W1_QSEL) | in rtw_tx_fill_tx_desc() 50 le32_encode_bits(pkt_info->rate_id, RTW_TX_DESC_W1_RATE_ID) | in rtw_tx_fill_tx_desc() 51 le32_encode_bits(pkt_info->sec_type, RTW_TX_DESC_W1_SEC_TYPE) | in rtw_tx_fill_tx_desc() [all …]
|
D | tx.h | 93 struct rtw_tx_pkt_info *pkt_info, 96 void rtw_tx_fill_tx_desc(struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb); 100 struct rtw_tx_pkt_info *pkt_info, 105 struct rtw_tx_pkt_info *pkt_info, 109 struct rtw_tx_pkt_info *pkt_info, 132 struct rtw_tx_pkt_info *pkt_info, in rtw_tx_fill_txdesc_checksum() argument 137 chip->ops->fill_txdesc_checksum(rtwdev, pkt_info, txdesc); in rtw_tx_fill_txdesc_checksum()
|
D | usb.c | 29 struct rtw_tx_pkt_info pkt_info; in rtw_usb_fill_tx_checksum() local 32 pkt_info.pkt_offset = le32_get_bits(tx_desc->w1, RTW_TX_DESC_W1_PKT_OFFSET); in rtw_usb_fill_tx_checksum() 33 rtw_tx_fill_txdesc_checksum(rtwdev, &pkt_info, skb->data); in rtw_usb_fill_tx_checksum() 391 struct rtw_tx_pkt_info *pkt_info, in rtw_usb_write_data() argument 400 size = pkt_info->tx_pkt_size; in rtw_usb_write_data() 401 qsel = pkt_info->qsel; in rtw_usb_write_data() 403 headsize = pkt_info->offset ? pkt_info->offset : desclen; in rtw_usb_write_data() 413 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_usb_write_data() 414 rtw_tx_fill_txdesc_checksum(rtwdev, pkt_info, skb->data); in rtw_usb_write_data() 428 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_usb_write_data_rsvd_page() local [all …]
|
D | sdio.c | 834 struct rtw_tx_pkt_info *pkt_info, in rtw_sdio_tx_skb_prepare() argument 860 pkt_info->offset += offset; in rtw_sdio_tx_skb_prepare() 865 pkt_info->qsel = rtw_sdio_get_tx_qsel(rtwdev, skb, queue); in rtw_sdio_tx_skb_prepare() 867 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_sdio_tx_skb_prepare() 868 rtw_tx_fill_txdesc_checksum(rtwdev, pkt_info, pkt_desc); in rtw_sdio_tx_skb_prepare() 872 struct rtw_tx_pkt_info *pkt_info, in rtw_sdio_write_data() argument 878 rtw_sdio_tx_skb_prepare(rtwdev, pkt_info, skb, queue); in rtw_sdio_write_data() 889 struct rtw_tx_pkt_info pkt_info = {}; in rtw_sdio_write_data_rsvd_page() local 892 skb = rtw_tx_write_data_rsvd_page_get(rtwdev, &pkt_info, buf, size); in rtw_sdio_write_data_rsvd_page() 896 return rtw_sdio_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_BCN); in rtw_sdio_write_data_rsvd_page() [all …]
|
D | hci.h | 11 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()
|
D | pci.c | 798 struct rtw_tx_pkt_info *pkt_info, in rtw_pci_tx_write_data() argument 825 pkt_info->qsel = rtw_pci_get_tx_qsel(skb, queue); in rtw_pci_tx_write_data() 826 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_pci_tx_write_data() 847 tx_data->sn = pkt_info->sn; in rtw_pci_tx_write_data() 871 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_rsvd_page() local 875 skb = rtw_tx_write_data_rsvd_page_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_rsvd_page() 879 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_BCN); in rtw_pci_write_data_rsvd_page() 896 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_h2c() local 899 skb = rtw_tx_write_data_h2c_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_h2c() 903 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_H2C); in rtw_pci_write_data_h2c() [all …]
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-net.c | 64 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 …]
|
D | dwc-xlgmac-desc.c | 505 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 …]
|
D | dwc-xlgmac-hw.c | 709 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.6.21/drivers/net/ethernet/apm/xgene-v2/ |
D | main.c | 93 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 …]
|
D | ring.h | 66 struct pkt_info { struct 82 struct pkt_info (*pkt_info); argument
|
/linux-6.6.21/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 91 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()
|
D | odm_HWConfig.c | 104 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()
|
D | odm_CfoTracking.c | 190 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()
|
D | odm_HWConfig.h | 63 u8 *phy_status, struct odm_packet_info *pkt_info);
|
/linux-6.6.21/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif_rx.c | 393 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_set_frag_to_skb() argument 403 page_info += t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_set_frag_to_skb() 409 data_bus_addr = le32_to_cpu(pkt_info->pd.data_addr_h); in t7xx_dpmaif_set_frag_to_skb() 410 data_bus_addr = (data_bus_addr << 32) + le32_to_cpu(pkt_info->pd.data_addr_l); in t7xx_dpmaif_set_frag_to_skb() 414 data_len = FIELD_GET(PD_PIT_DATA_LEN, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_set_frag_to_skb() 425 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_get_frag() argument 428 unsigned int cur_bid = t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_get_frag() 435 ret = t7xx_dpmaif_set_frag_to_skb(rxq, pkt_info, skb_info->cur_skb); in t7xx_dpmaif_get_frag() 623 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_set_data_to_skb() argument 634 bat_skb += t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_set_data_to_skb() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | xdpwall.c | 93 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.6.21/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 728 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.6.21/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 560 __le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info; in ixgbevf_ipsec_rx() local 579 if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV4)) { in ixgbevf_ipsec_rx() 583 } else if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV6)) { in ixgbevf_ipsec_rx() 591 switch (pkt_info & ipsec_pkt_types) { in ixgbevf_ipsec_rx()
|
D | defines.h | 214 __le16 pkt_info; /* RSS, Pkt type */ member
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_base.h | 63 __le16 pkt_info; /*RSS type, Pkt type*/ member
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | netcp_core.c | 116 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.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 1167 __le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info; in ixgbe_ipsec_rx() local 1186 if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV4)) { in ixgbe_ipsec_rx() 1190 } else if (pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_IPV6)) { in ixgbe_ipsec_rx() 1198 switch (pkt_info & ipsec_pkt_types) { in ixgbe_ipsec_rx()
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.h | 71 __le16 pkt_info; /* RSS type, Packet type */ member
|
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/ |
D | vf.h | 46 __le16 pkt_info; /* RSS/Packet type */ member
|