Lines Matching defs:frags
378 * 268 bytes with 4K pages (since the frags[] array needs 18 entries).
1597 * Prepare the "frags" info for the resulting LEPP command.
1599 * If needed, flush the memory used by the frags.
1601 static unsigned int tile_net_tx_frags(lepp_frag_t *frags,
1617 frags[n].cpa_lo = cpa;
1618 frags[n].cpa_hi = cpa >> 32;
1619 frags[n].length = b_len;
1620 frags[n].hash_for_home = hash_default;
1626 skb_frag_t *f = &sh->frags[i];
1641 frags[n].cpa_lo = cpa;
1642 frags[n].cpa_hi = cpa >> 32;
1643 frags[n].length = skb_frag_size(f);
1644 frags[n].hash_for_home = hash_for_home;
1659 * and "sh->frags" will contain "skb->data_len" bytes of payload, and
1663 * "data" containing the header and payload, with "frags" being empty.
1717 /* Analyze the "frags". */
1719 tile_net_tx_frags(cmd->frags, skb, data + sh_len, b_len);
1721 /* The size of the command, including frags and header. */
1761 memcpy(&cmd->frags[num_frags], data, sh_len);
1861 lepp_frag_t frags[1 + MAX_SKB_FRAGS];
1906 /* ISSUE: Does not dump the "frags". */
1917 num_frags = tile_net_tx_frags(frags, skb, data, skb_headlen(skb));
1924 .cpa_lo = frags[i].cpa_lo,
1925 .cpa_hi = frags[i].cpa_hi,
1926 .length = frags[i].length,
1927 .hash_for_home = frags[i].hash_for_home,
2264 /* We support TSO iff the HV supports sufficient frags. */