/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | tx.c | 36 struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb) in rtw_tx_fill_tx_desc() argument 41 if (pkt_info->qsel == TX_DESC_QSEL_HIGH) in rtw_tx_fill_tx_desc() 44 tx_desc->w0 = le32_encode_bits(pkt_info->tx_pkt_size, RTW_TX_DESC_W0_TXPKTSIZE) | in rtw_tx_fill_tx_desc() 45 le32_encode_bits(pkt_info->offset, RTW_TX_DESC_W0_OFFSET) | in rtw_tx_fill_tx_desc() 46 le32_encode_bits(pkt_info->bmc, RTW_TX_DESC_W0_BMC) | in rtw_tx_fill_tx_desc() 47 le32_encode_bits(pkt_info->ls, RTW_TX_DESC_W0_LS) | in rtw_tx_fill_tx_desc() 48 le32_encode_bits(pkt_info->dis_qselseq, RTW_TX_DESC_W0_DISQSELSEQ); in rtw_tx_fill_tx_desc() 50 tx_desc->w1 = le32_encode_bits(pkt_info->mac_id, RTW_TX_DESC_W1_MACID) | in rtw_tx_fill_tx_desc() 51 le32_encode_bits(pkt_info->qsel, RTW_TX_DESC_W1_QSEL) | in rtw_tx_fill_tx_desc() 52 le32_encode_bits(pkt_info->rate_id, RTW_TX_DESC_W1_RATE_ID) | in rtw_tx_fill_tx_desc() [all …]
|
H A D | tx.h | 95 struct rtw_tx_pkt_info *pkt_info, 99 struct rtw_tx_pkt_info *pkt_info, struct sk_buff *skb); 103 struct rtw_tx_pkt_info *pkt_info, 108 struct rtw_tx_pkt_info *pkt_info, 112 struct rtw_tx_pkt_info *pkt_info, 135 struct rtw_tx_pkt_info *pkt_info, in rtw_tx_fill_txdesc_checksum() argument 140 chip->ops->fill_txdesc_checksum(rtwdev, pkt_info, txdesc); in rtw_tx_fill_txdesc_checksum()
|
H A D | usb.c | 34 struct rtw_tx_pkt_info pkt_info; in rtw_usb_fill_tx_checksum() local 37 pkt_info.pkt_offset = le32_get_bits(tx_desc->w1, RTW_TX_DESC_W1_PKT_OFFSET); in rtw_usb_fill_tx_checksum() 38 rtw_tx_fill_txdesc_checksum(rtwdev, &pkt_info, skb->data); in rtw_usb_fill_tx_checksum() 441 struct rtw_tx_pkt_info *pkt_info, in rtw_usb_write_data() argument 450 size = pkt_info->tx_pkt_size; in rtw_usb_write_data() 451 qsel = pkt_info->qsel; in rtw_usb_write_data() 461 rtw_tx_fill_tx_desc(rtwdev, pkt_info, skb); in rtw_usb_write_data() 462 rtw_tx_fill_txdesc_checksum(rtwdev, pkt_info, skb->data); in rtw_usb_write_data() 476 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_usb_write_data_rsvd_page() local 478 pkt_info.tx_pkt_size = size; in rtw_usb_write_data_rsvd_page() [all …]
|
H A 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(rtwdev, 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 …]
|
H A D | hci.h | 11 struct rtw_tx_pkt_info *pkt_info, 35 struct rtw_tx_pkt_info *pkt_info, in rtw_hci_tx_write() argument 38 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
|
H A D | pci.c | 799 struct rtw_tx_pkt_info *pkt_info, in rtw_pci_tx_write_data() argument 826 pkt_info->qsel = rtw_pci_get_tx_qsel(skb, queue); in rtw_pci_tx_write_data() 827 rtw_tx_fill_tx_desc(rtwdev, pkt_info, skb); in rtw_pci_tx_write_data() 848 tx_data->sn = pkt_info->sn; in rtw_pci_tx_write_data() 872 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_rsvd_page() local 876 skb = rtw_tx_write_data_rsvd_page_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_rsvd_page() 880 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_BCN); in rtw_pci_write_data_rsvd_page() 897 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_pci_write_data_h2c() local 900 skb = rtw_tx_write_data_h2c_get(rtwdev, &pkt_info, buf, size); in rtw_pci_write_data_h2c() 904 ret = rtw_pci_tx_write_data(rtwdev, &pkt_info, skb, RTW_TX_QUEUE_H2C); in rtw_pci_write_data_h2c() [all …]
|
H A D | rtw8723x.h | 155 struct rtw_tx_pkt_info *pkt_info, 446 struct rtw_tx_pkt_info *pkt_info, in rtw8723x_fill_txdesc_checksum() argument 449 rtw8723x_common.fill_txdesc_checksum(rtwdev, pkt_info, txdesc); in rtw8723x_fill_txdesc_checksum()
|
/linux/drivers/net/ethernet/synopsys/ |
H A 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 …]
|
H A 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 …]
|
H A 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/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723bs_recv.c | 90 struct odm_packet_info pkt_info = { in update_recvframe_phyinfo() local 104 pkt_info.bssid_match = ((!IsFrameTypeCtrl(wlanhdr)) && in update_recvframe_phyinfo() 110 pkt_info.to_self = pkt_info.bssid_match && in update_recvframe_phyinfo() 114 pkt_info.is_beacon = pkt_info.bssid_match && in update_recvframe_phyinfo() 119 pkt_info.station_id = 0xFF; in update_recvframe_phyinfo() 124 pkt_info.station_id = psta->mac_id; in update_recvframe_phyinfo() 126 pkt_info.data_rate = pattrib->data_rate; in update_recvframe_phyinfo() 131 (u8 *)pphy_status, &(pkt_info)); in update_recvframe_phyinfo() 137 pkt_info.bssid_match && in update_recvframe_phyinfo() 144 } else if (pkt_info.to_self || pkt_info.is_beacon) { in update_recvframe_phyinfo()
|
H A 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()
|
H A 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()
|
H A D | odm_HWConfig.h | 63 u8 *phy_status, struct odm_packet_info *pkt_info);
|
/linux/drivers/net/wwan/t7xx/ |
H A 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/tools/testing/selftests/bpf/progs/ |
H A 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/tools/perf/util/intel-pt-decoder/ |
H A 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 in intel_pt_pkt_lookahead() 807 intel_pt_calc_cyc_cb(struct intel_pt_pkt_info * pkt_info) intel_pt_calc_cyc_cb() argument 1547 intel_pt_eptw_lookahead_cb(struct intel_pt_pkt_info * pkt_info) intel_pt_eptw_lookahead_cb() argument 2325 intel_pt_vm_psb_lookahead_cb(struct intel_pt_pkt_info * pkt_info) intel_pt_vm_psb_lookahead_cb() argument 2398 intel_pt_ovf_fup_lookahead_cb(struct intel_pt_pkt_info * pkt_info) intel_pt_ovf_fup_lookahead_cb() argument 2422 intel_pt_tma_lookahead_cb(struct intel_pt_pkt_info * pkt_info) intel_pt_tma_lookahead_cb() argument 3059 intel_pt_psb_lookahead_cb(struct intel_pt_pkt_info * pkt_info) intel_pt_psb_lookahead_cb() argument [all...] |
/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | ring.h | 66 struct pkt_info { struct 82 struct pkt_info (*pkt_info); argument
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A 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()
|
H A D | defines.h | 214 __le16 pkt_info; /* RSS, Pkt type */ member
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_base.h | 67 __le16 pkt_info; /*RSS type, Pkt type*/ member
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A 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/drivers/net/ethernet/intel/igb/ |
H A D | e1000_82575.h | 71 __le16 pkt_info; /* RSS type, Packet type */ member
|
/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.h | 46 __le16 pkt_info; /* RSS/Packet type */ member
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_mgmt.h | 334 __le32 pkt_info; /* Packet specific data */ member 614 __le32 pkt_info; member
|