Lines Matching defs:frags
383 * 268 bytes with 4K pages (since the frags[] array needs 18 entries).
1677 * Prepare the "frags" info for the resulting LEPP command.
1679 * If needed, flush the memory used by the frags.
1681 static unsigned int tile_net_tx_frags(lepp_frag_t *frags,
1697 frags[n].cpa_lo = cpa;
1698 frags[n].cpa_hi = cpa >> 32;
1699 frags[n].length = b_len;
1700 frags[n].hash_for_home = hash_default;
1706 skb_frag_t *f = &sh->frags[i];
1721 frags[n].cpa_lo = cpa;
1722 frags[n].cpa_hi = cpa >> 32;
1723 frags[n].length = skb_frag_size(f);
1724 frags[n].hash_for_home = hash_for_home;
1739 * and "sh->frags" will contain "skb->data_len" bytes of payload, and
1743 * "data" containing the header and payload, with "frags" being empty.
1797 /* Analyze the "frags". */
1799 tile_net_tx_frags(cmd->frags, skb, data + sh_len, b_len);
1801 /* The size of the command, including frags and header. */
1841 memcpy(&cmd->frags[num_frags], data, sh_len);
1939 lepp_frag_t frags[LEPP_MAX_FRAGS];
1984 /* ISSUE: Does not dump the "frags". */
1995 num_frags = tile_net_tx_frags(frags, skb, data, skb_headlen(skb));
2002 .cpa_lo = frags[i].cpa_lo,
2003 .cpa_hi = frags[i].cpa_hi,
2004 .length = frags[i].length,
2005 .hash_for_home = frags[i].hash_for_home,