skb_info
struct dp83640_skb_info *skb_info;
skb_info = (struct dp83640_skb_info *)skb->cb;
if (!time_after(jiffies, skb_info->tmo)) {
struct dp83640_skb_info *skb_info = (struct dp83640_skb_info *)skb->cb;
skb_info->ptp_type = type;
skb_info->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT;
struct dp83640_skb_info *skb_info = (struct dp83640_skb_info *)skb->cb;
skb_info->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT;
struct dp83640_skb_info *skb_info;
skb_info = (struct dp83640_skb_info *)skb->cb;
if (match(skb, skb_info->ptp_type, rxts)) {
struct dp83640_skb_info *skb_info;
skb_info = (struct dp83640_skb_info *)skb->cb;
if (time_after(jiffies, skb_info->tmo)) {
struct ieee80211_tx_info *skb_info = IEEE80211_SKB_CB(skb);
memset(&skb_info->status, 0, sizeof(skb_info->status));
memset(skb_info->driver_data, 0, sizeof(skb_info->driver_data));
skb_info->driver_data[1] = cmd;
struct skb_info *tx_params = NULL;
(struct skb_info *)&IEEE80211_SKB_CB(skb)->driver_data;
struct skb_info *tx_params;
tx_params = (struct skb_info *)info->driver_data;
struct skb_info *tx_params;
tx_params = (struct skb_info *)info->driver_data;
struct skb_info *tx_params;
tx_params = (struct skb_info *)info->driver_data;
struct skb_info *tx_params;
tx_params = (struct skb_info *)info->driver_data;
struct skb_info *rx_params = (struct skb_info *)info->driver_data;
struct skb_info *tx_params;
tx_params = (struct skb_info *)info->driver_data;
struct skb_info *tx_params;
tx_params = (struct skb_info *)&IEEE80211_SKB_CB(skb)->driver_data;
struct skb_info *rx_params;
rx_params = (struct skb_info *)info->driver_data;
const struct dpmaif_cur_rx_skb_info *skb_info)
ret = t7xx_dpmaif_set_frag_to_skb(rxq, pkt_info, skb_info->cur_skb);
struct dpmaif_cur_rx_skb_info *skb_info)
skb_info->cur_chn_idx = FIELD_GET(MSG_PIT_CHANNEL_ID, header);
skb_info->check_sum = FIELD_GET(MSG_PIT_CHECKSUM, header);
skb_info->pit_dp = FIELD_GET(MSG_PIT_DP, header);
skb_info->pkt_type = FIELD_GET(MSG_PIT_IP, le32_to_cpu(msg_pit->msg.params_3));
struct dpmaif_cur_rx_skb_info *skb_info)
skb_info->cur_skb = skb;
struct dpmaif_cur_rx_skb_info *skb_info)
ret = t7xx_dpmaif_set_data_to_skb(rxq, pkt_info, skb_info);
struct dpmaif_cur_rx_skb_info *skb_info)
struct sk_buff *skb = skb_info->cur_skb;
skb_info->cur_skb = NULL;
if (skb_info->pit_dp) {
skb->ip_summed = skb_info->check_sum == DPMAIF_CS_RESULT_PASS ? CHECKSUM_UNNECESSARY :
netif_id = FIELD_GET(NETIF_MASK, skb_info->cur_chn_idx);
skb_cb->rx_pkt_type = skb_info->pkt_type;
struct dpmaif_cur_rx_skb_info *skb_info;
skb_info = &rxq->rx_data_info;
if (!skb_info->msg_pit_received && recv_skb_cnt >= budget)
if (skb_info->msg_pit_received)
skb_info->msg_pit_received = true;
t7xx_dpmaif_parse_msg_pit(rxq, pkt_info, skb_info);
ret = t7xx_dpmaif_get_rx_pkt(rxq, pkt_info, skb_info);
else if (!skb_info->cur_skb)
ret = t7xx_dpmaif_get_frag(rxq, pkt_info, skb_info);
skb_info->err_payload = 1;
if (!skb_info->err_payload) {
t7xx_dpmaif_rx_skb(rxq, skb_info);
} else if (skb_info->cur_skb) {
dev_kfree_skb_any(skb_info->cur_skb);
skb_info->cur_skb = NULL;
memset(skb_info, 0, sizeof(*skb_info));