Home
last modified time | relevance | path

Searched refs:skb (Results 1 – 25 of 1441) sorted by relevance

12345678910>>...58

/drivers/bluetooth/
Dbtbcm.c78 struct sk_buff *skb; in btbcm_check_bdaddr() local
80 skb = __hci_cmd_sync(hdev, HCI_OP_READ_BD_ADDR, 0, NULL, in btbcm_check_bdaddr()
82 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
83 int err = PTR_ERR(skb); in btbcm_check_bdaddr()
89 if (skb->len != sizeof(*bda)) { in btbcm_check_bdaddr()
91 kfree_skb(skb); in btbcm_check_bdaddr()
95 bda = (struct hci_rp_read_bd_addr *)skb->data; in btbcm_check_bdaddr()
136 kfree_skb(skb); in btbcm_check_bdaddr()
144 struct sk_buff *skb; in btbcm_set_bdaddr() local
147 skb = __hci_cmd_sync(hdev, 0xfc01, 6, bdaddr, HCI_INIT_TIMEOUT); in btbcm_set_bdaddr()
[all …]
Dbtintel.c30 struct sk_buff *skb; in btintel_check_bdaddr() local
32 skb = __hci_cmd_sync(hdev, HCI_OP_READ_BD_ADDR, 0, NULL, in btintel_check_bdaddr()
34 if (IS_ERR(skb)) { in btintel_check_bdaddr()
35 int err = PTR_ERR(skb); in btintel_check_bdaddr()
41 if (skb->len != sizeof(*bda)) { in btintel_check_bdaddr()
43 kfree_skb(skb); in btintel_check_bdaddr()
47 bda = (struct hci_rp_read_bd_addr *)skb->data; in btintel_check_bdaddr()
60 kfree_skb(skb); in btintel_check_bdaddr()
69 struct sk_buff *skb; in btintel_enter_mfg() local
71 skb = __hci_cmd_sync(hdev, 0xfc11, 2, param, HCI_CMD_TIMEOUT); in btintel_enter_mfg()
[all …]
Dh4_recv.h17 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb);
42 struct sk_buff *skb, in h4_recv_buf() argument
49 if (IS_ERR(skb)) in h4_recv_buf()
50 skb = NULL; in h4_recv_buf()
55 if (!skb) { in h4_recv_buf()
60 skb = bt_skb_alloc((&pkts[i])->maxlen, in h4_recv_buf()
62 if (!skb) in h4_recv_buf()
65 hci_skb_pkt_type(skb) = (&pkts[i])->type; in h4_recv_buf()
66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
71 if (!skb) in h4_recv_buf()
[all …]
/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h15 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
26 struct ath10k *ar, struct sk_buff *skb,
28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb,
[all …]
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c22 static void rmnet_set_skb_proto(struct sk_buff *skb) in rmnet_set_skb_proto() argument
24 switch (skb->data[0] & 0xF0) { in rmnet_set_skb_proto()
26 skb->protocol = htons(ETH_P_IP); in rmnet_set_skb_proto()
29 skb->protocol = htons(ETH_P_IPV6); in rmnet_set_skb_proto()
32 skb->protocol = htons(ETH_P_MAP); in rmnet_set_skb_proto()
40 rmnet_deliver_skb(struct sk_buff *skb) in rmnet_deliver_skb() argument
42 struct rmnet_priv *priv = netdev_priv(skb->dev); in rmnet_deliver_skb()
44 skb_reset_transport_header(skb); in rmnet_deliver_skb()
45 skb_reset_network_header(skb); in rmnet_deliver_skb()
46 rmnet_vnd_rx_fixup(skb, skb->dev); in rmnet_deliver_skb()
[all …]
/drivers/net/wireless/intersil/prism54/
Dislpci_eth.c30 struct sk_buff *skb; in islpci_eth_cleanup_transmit() local
45 skb = priv->data_low_tx[index]; in islpci_eth_cleanup_transmit()
50 skb, skb->data, skb->len, skb->truesize); in islpci_eth_cleanup_transmit()
55 skb->len, DMA_TO_DEVICE); in islpci_eth_cleanup_transmit()
56 dev_kfree_skb_irq(skb); in islpci_eth_cleanup_transmit()
57 skb = NULL; in islpci_eth_cleanup_transmit()
65 islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) in islpci_eth_transmit() argument
103 if (likely(((long) skb->data & 0x03) | init_wds)) { in islpci_eth_transmit()
105 offset = (4 - (long) skb->data) & 0x03; in islpci_eth_transmit()
109 if (!skb_cloned(skb) && (skb_tailroom(skb) >= offset)) { in islpci_eth_transmit()
[all …]
/drivers/net/wireguard/
Dreceive.c33 #define SKB_TYPE_LE32(skb) (((struct message_header *)(skb)->data)->type) argument
35 static size_t validate_header_len(struct sk_buff *skb) in validate_header_len() argument
37 if (unlikely(skb->len < sizeof(struct message_header))) in validate_header_len()
39 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_DATA) && in validate_header_len()
40 skb->len >= MESSAGE_MINIMUM_LENGTH) in validate_header_len()
42 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_INITIATION) && in validate_header_len()
43 skb->len == sizeof(struct message_handshake_initiation)) in validate_header_len()
45 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_RESPONSE) && in validate_header_len()
46 skb->len == sizeof(struct message_handshake_response)) in validate_header_len()
48 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_COOKIE) && in validate_header_len()
[all …]
Dqueueing.h31 void wg_packet_receive(struct wg_device *wg, struct sk_buff *skb);
67 #define PACKET_CB(skb) ((struct packet_cb *)((skb)->cb)) argument
68 #define PACKET_PEER(skb) (PACKET_CB(skb)->keypair->entry.peer) argument
70 static inline bool wg_check_packet_protocol(struct sk_buff *skb) in wg_check_packet_protocol() argument
72 __be16 real_protocol = ip_tunnel_parse_protocol(skb); in wg_check_packet_protocol()
73 return real_protocol && skb->protocol == real_protocol; in wg_check_packet_protocol()
76 static inline void wg_reset_packet(struct sk_buff *skb, bool encapsulating) in wg_reset_packet() argument
78 u8 l4_hash = skb->l4_hash; in wg_reset_packet()
79 u8 sw_hash = skb->sw_hash; in wg_reset_packet()
80 u32 hash = skb->hash; in wg_reset_packet()
[all …]
/drivers/nfc/st21nfca/
Ddep.c117 struct sk_buff *skb; in st21nfca_tx_work() local
121 skb = info->dep_info.tx_pending; in st21nfca_tx_work()
126 ST21NFCA_WR_XCHG_DATA, skb->data, skb->len, in st21nfca_tx_work()
129 kfree_skb(skb); in st21nfca_tx_work()
134 struct sk_buff *skb) in st21nfca_im_send_pdu() argument
136 info->dep_info.tx_pending = skb; in st21nfca_im_send_pdu()
144 struct sk_buff *skb; in st21nfca_tm_send_atr_res() local
150 skb = alloc_skb(atr_req->length + 1, GFP_KERNEL); in st21nfca_tm_send_atr_res()
151 if (!skb) in st21nfca_tm_send_atr_res()
154 skb_put(skb, sizeof(struct st21nfca_atr_res)); in st21nfca_tm_send_atr_res()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dccm_mbox.c62 nfp_ccm_mbox_msg_init(struct sk_buff *skb, unsigned int exp_reply, int max_len) in nfp_ccm_mbox_msg_init() argument
64 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_msg_init()
73 static int nfp_ccm_mbox_maxlen(const struct sk_buff *skb) in nfp_ccm_mbox_maxlen() argument
75 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_maxlen()
80 static bool nfp_ccm_mbox_done(struct sk_buff *skb) in nfp_ccm_mbox_done() argument
82 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_done()
87 static bool nfp_ccm_mbox_in_progress(struct sk_buff *skb) in nfp_ccm_mbox_in_progress() argument
89 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_in_progress()
95 static void nfp_ccm_mbox_set_busy(struct sk_buff *skb) in nfp_ccm_mbox_set_busy() argument
97 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_set_busy()
[all …]
Dccm.c50 struct sk_buff *skb; in __nfp_ccm_reply() local
52 skb_queue_walk(&ccm->replies, skb) { in __nfp_ccm_reply()
53 msg_tag = nfp_ccm_get_tag(skb); in __nfp_ccm_reply()
56 __skb_unlink(skb, &ccm->replies); in __nfp_ccm_reply()
57 return skb; in __nfp_ccm_reply()
67 struct sk_buff *skb; in nfp_ccm_reply() local
70 skb = __nfp_ccm_reply(ccm, tag); in nfp_ccm_reply()
73 return skb; in nfp_ccm_reply()
79 struct sk_buff *skb; in nfp_ccm_reply_drop_tag() local
82 skb = __nfp_ccm_reply(ccm, tag); in nfp_ccm_reply_drop_tag()
[all …]
/drivers/net/ipvlan/
Dipvlan_core.c136 void *ipvlan_get_L3_hdr(struct ipvl_port *port, struct sk_buff *skb, int *type) in ipvlan_get_L3_hdr() argument
140 switch (skb->protocol) { in ipvlan_get_L3_hdr()
144 if (unlikely(!pskb_may_pull(skb, arp_hdr_len(port->dev)))) in ipvlan_get_L3_hdr()
147 arph = arp_hdr(skb); in ipvlan_get_L3_hdr()
156 if (unlikely(!pskb_may_pull(skb, sizeof(*ip4h)))) in ipvlan_get_L3_hdr()
159 ip4h = ip_hdr(skb); in ipvlan_get_L3_hdr()
163 if (skb->len < pktlen || pktlen < (ip4h->ihl * 4)) in ipvlan_get_L3_hdr()
174 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h)))) in ipvlan_get_L3_hdr()
177 ip6h = ipv6_hdr(skb); in ipvlan_get_L3_hdr()
188 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h) + sizeof(*icmph)))) in ipvlan_get_L3_hdr()
[all …]
/drivers/net/
Dvrf.c142 static void vrf_tx_error(struct net_device *vrf_dev, struct sk_buff *skb) in vrf_tx_error() argument
145 kfree_skb(skb); in vrf_tx_error()
403 static int vrf_local_xmit(struct sk_buff *skb, struct net_device *dev, in vrf_local_xmit() argument
406 int len = skb->len; in vrf_local_xmit()
408 skb_orphan(skb); in vrf_local_xmit()
410 skb_dst_set(skb, dst); in vrf_local_xmit()
415 skb->pkt_type = PACKET_LOOPBACK; in vrf_local_xmit()
417 skb->protocol = eth_type_trans(skb, dev); in vrf_local_xmit()
419 if (likely(netif_rx(skb) == NET_RX_SUCCESS)) in vrf_local_xmit()
427 static void vrf_nf_set_untracked(struct sk_buff *skb) in vrf_nf_set_untracked() argument
[all …]
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_tx.c21 void hostap_dump_tx_80211(const char *name, struct sk_buff *skb) in hostap_dump_tx_80211() argument
26 hdr = (struct ieee80211_hdr *) skb->data; in hostap_dump_tx_80211()
29 name, skb->len, jiffies); in hostap_dump_tx_80211()
31 if (skb->len < 2) in hostap_dump_tx_80211()
41 if (skb->len < IEEE80211_DATA_HDR3_LEN) { in hostap_dump_tx_80211()
52 if (skb->len >= 30) in hostap_dump_tx_80211()
61 netdev_tx_t hostap_data_start_xmit(struct sk_buff *skb, in hostap_data_start_xmit() argument
80 if (skb->len < ETH_HLEN) { in hostap_data_start_xmit()
82 "(len=%d)\n", dev->name, skb->len); in hostap_data_start_xmit()
83 kfree_skb(skb); in hostap_data_start_xmit()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c83 static inline __be16 mlx5e_ipsec_mss_inv(struct sk_buff *skb) in mlx5e_ipsec_mss_inv() argument
85 return mlx5e_ipsec_inverse_table[skb_shinfo(skb)->gso_size]; in mlx5e_ipsec_mss_inv()
88 static struct mlx5e_ipsec_metadata *mlx5e_ipsec_add_metadata(struct sk_buff *skb) in mlx5e_ipsec_add_metadata() argument
93 if (unlikely(skb_cow_head(skb, sizeof(*mdata)))) in mlx5e_ipsec_add_metadata()
96 eth = (struct ethhdr *)skb_push(skb, sizeof(*mdata)); in mlx5e_ipsec_add_metadata()
97 skb->mac_header -= sizeof(*mdata); in mlx5e_ipsec_add_metadata()
100 memmove(skb->data, skb->data + sizeof(*mdata), in mlx5e_ipsec_add_metadata()
109 static int mlx5e_ipsec_remove_trailer(struct sk_buff *skb, struct xfrm_state *x) in mlx5e_ipsec_remove_trailer() argument
112 struct ipv6hdr *ipv6hdr = ipv6_hdr(skb); in mlx5e_ipsec_remove_trailer()
113 struct iphdr *ipv4hdr = ip_hdr(skb); in mlx5e_ipsec_remove_trailer()
[all …]
/drivers/net/wimax/i2400m/
Dnetdev.c144 struct sk_buff *skb; in i2400m_wake_tx_work() local
148 skb = i2400m->wake_tx_skb; in i2400m_wake_tx_work()
152 d_fnstart(3, dev, "(ws %p i2400m %p skb %p)\n", ws, i2400m, skb); in i2400m_wake_tx_work()
154 if (skb == NULL) { in i2400m_wake_tx_work()
184 result = i2400m_tx(i2400m, skb->data, skb->len, I2400M_PT_DATA); in i2400m_wake_tx_work()
188 kfree_skb(skb); /* refcount transferred by _hard_start_xmit() */ in i2400m_wake_tx_work()
192 ws, i2400m, skb, result); in i2400m_wake_tx_work()
205 void i2400m_tx_prep_header(struct sk_buff *skb) in i2400m_tx_prep_header() argument
208 skb_pull(skb, ETH_HLEN); in i2400m_tx_prep_header()
209 pl_hdr = skb_push(skb, sizeof(*pl_hdr)); in i2400m_tx_prep_header()
[all …]
/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.c16 nfp_flower_cmsg_get_hdr(struct sk_buff *skb) in nfp_flower_cmsg_get_hdr() argument
18 return (struct nfp_flower_cmsg_hdr *)skb->data; in nfp_flower_cmsg_get_hdr()
26 struct sk_buff *skb; in nfp_flower_cmsg_alloc() local
30 skb = nfp_app_ctrl_msg_alloc(app, size, flag); in nfp_flower_cmsg_alloc()
31 if (!skb) in nfp_flower_cmsg_alloc()
34 ch = nfp_flower_cmsg_get_hdr(skb); in nfp_flower_cmsg_alloc()
38 skb_put(skb, size); in nfp_flower_cmsg_alloc()
40 return skb; in nfp_flower_cmsg_alloc()
47 struct sk_buff *skb; in nfp_flower_cmsg_mac_repr_start() local
49 skb = nfp_flower_cmsg_alloc(app, struct_size(msg, ports, num_ports), in nfp_flower_cmsg_mac_repr_start()
[all …]
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c35 static int data_sgl_len(const struct sk_buff *skb) in data_sgl_len() argument
39 cnt = skb_shinfo(skb)->nr_frags; in data_sgl_len()
50 static int set_ivs_imm(struct sock *sk, const struct sk_buff *skb) in set_ivs_imm() argument
52 int ivs_size = nos_ivs(sk, skb->len) * CIPHER_BLOCK_SIZE; in set_ivs_imm()
53 int hlen = TLS_WR_CPL_LEN + data_sgl_len(skb); in set_ivs_imm()
57 ULP_SKB_CB(skb)->ulp.tls.iv = 1; in set_ivs_imm()
60 ULP_SKB_CB(skb)->ulp.tls.iv = 0; in set_ivs_imm()
69 static int ivs_size(struct sock *sk, const struct sk_buff *skb) in ivs_size() argument
71 return set_ivs_imm(sk, skb) ? (nos_ivs(sk, skb->len) * in ivs_size()
94 struct sk_buff *skb; in create_flowc_wr_skb() local
[all …]
/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c38 struct sk_buff *skb, *tmp; in mwifiex_uap_del_tx_pkts_in_ralist() local
47 skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { in mwifiex_uap_del_tx_pkts_in_ralist()
48 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_del_tx_pkts_in_ralist()
50 __skb_unlink(skb, &ra_list->skb_head); in mwifiex_uap_del_tx_pkts_in_ralist()
51 mwifiex_write_data_complete(adapter, skb, 0, in mwifiex_uap_del_tx_pkts_in_ralist()
94 struct sk_buff *skb) in mwifiex_uap_queue_bridged_pkt() argument
106 uap_rx_pd = (struct uap_rxpd *)(skb->data); in mwifiex_uap_queue_bridged_pkt()
113 kfree_skb(skb); in mwifiex_uap_queue_bridged_pkt()
119 le16_to_cpu(uap_rx_pd->rx_pkt_offset) > skb->len) { in mwifiex_uap_queue_bridged_pkt()
122 skb->len, le16_to_cpu(uap_rx_pd->rx_pkt_offset)); in mwifiex_uap_queue_bridged_pkt()
[all …]
/drivers/nfc/microread/
Di2c.c48 #define I2C_DUMP_SKB(info, skb) \ argument
52 16, 1, (skb)->data, (skb)->len, 0); \
55 static void microread_i2c_add_len_crc(struct sk_buff *skb) in microread_i2c_add_len_crc() argument
61 len = skb->len; in microread_i2c_add_len_crc()
62 *(u8 *)skb_push(skb, 1) = len; in microread_i2c_add_len_crc()
64 for (i = 0; i < skb->len; i++) in microread_i2c_add_len_crc()
65 crc = crc ^ skb->data[i]; in microread_i2c_add_len_crc()
67 skb_put_u8(skb, crc); in microread_i2c_add_len_crc()
70 static void microread_i2c_remove_len_crc(struct sk_buff *skb) in microread_i2c_remove_len_crc() argument
72 skb_pull(skb, MICROREAD_I2C_FRAME_HEADROOM); in microread_i2c_remove_len_crc()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c56 static inline int mlx5e_get_dscp_up(struct mlx5e_priv *priv, struct sk_buff *skb) in mlx5e_get_dscp_up() argument
60 if (skb->protocol == htons(ETH_P_IP)) in mlx5e_get_dscp_up()
61 dscp_cp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; in mlx5e_get_dscp_up()
62 else if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_get_dscp_up()
63 dscp_cp = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2; in mlx5e_get_dscp_up()
69 u16 mlx5e_select_queue(struct net_device *dev, struct sk_buff *skb, in mlx5e_select_queue() argument
72 int txq_ix = netdev_pick_tx(dev, skb, NULL); in mlx5e_select_queue()
82 up = mlx5e_get_dscp_up(priv, skb); in mlx5e_select_queue()
85 if (skb_vlan_tag_present(skb)) in mlx5e_select_queue()
86 up = skb_vlan_tag_get_prio(skb); in mlx5e_select_queue()
[all …]
/drivers/staging/wlan-ng/
Dp80211conv.c109 struct sk_buff *skb, union p80211_hdr *p80211_hdr, in skb_ether_to_p80211() argument
119 memcpy(&e_hdr, skb->data, sizeof(e_hdr)); in skb_ether_to_p80211()
121 if (skb->len <= 0) { in skb_ether_to_p80211()
127 pr_debug("ENCAP len: %d\n", skb->len); in skb_ether_to_p80211()
135 pr_debug("802.3 len: %d\n", skb->len); in skb_ether_to_p80211()
140 skb_pull(skb, ETH_HLEN); in skb_ether_to_p80211()
143 skb_trim(skb, proto); in skb_ether_to_p80211()
145 pr_debug("DIXII len: %d\n", skb->len); in skb_ether_to_p80211()
149 skb_pull(skb, ETH_HLEN); in skb_ether_to_p80211()
152 e_snap = skb_push(skb, sizeof(struct wlan_snap)); in skb_ether_to_p80211()
[all …]
/drivers/staging/octeon/
Dethernet-tx.c30 #define CVM_OCT_SKB_CB(skb) ((u64 *)((skb)->cb)) argument
40 #define GET_SKBUFF_QOS(skb) 0 argument
128 int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev) in cvm_oct_xmit() argument
160 qos = GET_SKBUFF_QOS(skb); in cvm_oct_xmit()
191 if (unlikely(skb_shinfo(skb)->nr_frags > 5)) { in cvm_oct_xmit()
192 if (unlikely(__skb_linearize(skb))) { in cvm_oct_xmit()
229 if ((skb->len < 64) && OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvm_oct_xmit()
239 int add_bytes = 64 - skb->len; in cvm_oct_xmit()
241 if ((skb_tail_pointer(skb) + add_bytes) <= in cvm_oct_xmit()
242 skb_end_pointer(skb)) in cvm_oct_xmit()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dwmi.c160 int ath6kl_wmi_dix_2_dot3(struct wmi *wmi, struct sk_buff *skb) in ath6kl_wmi_dix_2_dot3() argument
169 if (WARN_ON(skb == NULL)) in ath6kl_wmi_dix_2_dot3()
173 if (skb_headroom(skb) < size) in ath6kl_wmi_dix_2_dot3()
176 eth_hdr = (struct ethhdr *) skb->data; in ath6kl_wmi_dix_2_dot3()
185 new_len = skb->len - sizeof(*eth_hdr) + sizeof(*llc_hdr); in ath6kl_wmi_dix_2_dot3()
187 skb_push(skb, sizeof(struct ath6kl_llc_snap_hdr)); in ath6kl_wmi_dix_2_dot3()
188 datap = skb->data; in ath6kl_wmi_dix_2_dot3()
206 static int ath6kl_wmi_meta_add(struct wmi *wmi, struct sk_buff *skb, in ath6kl_wmi_meta_add() argument
212 if (WARN_ON(skb == NULL || version == NULL)) in ath6kl_wmi_meta_add()
217 skb_push(skb, WMI_MAX_TX_META_SZ); in ath6kl_wmi_meta_add()
[all …]
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c47 struct sk_buff *skb, int seg, int *len) in otx2_dma_map_skb_frag() argument
55 page = virt_to_page(skb->data); in otx2_dma_map_skb_frag()
56 offset = offset_in_page(skb->data); in otx2_dma_map_skb_frag()
57 *len = skb_headlen(skb); in otx2_dma_map_skb_frag()
59 frag = &skb_shinfo(skb)->frags[seg - 1]; in otx2_dma_map_skb_frag()
86 struct sk_buff *skb = NULL; in otx2_snd_pkt_handler() local
97 skb = (struct sk_buff *)sg->skb; in otx2_snd_pkt_handler()
98 if (unlikely(!skb)) in otx2_snd_pkt_handler()
101 if (skb_shinfo(skb)->tx_flags & SKBTX_IN_PROGRESS) { in otx2_snd_pkt_handler()
108 skb_tstamp_tx(skb, &ts); in otx2_snd_pkt_handler()
[all …]

12345678910>>...58