Lines Matching refs:mbuf

99  * enable accounting of every mbuf as it comes in to and goes out of
104 * Enable mbuf vectors for compressing long mbuf chains
114 * - small packet forwarding which is just returning a single mbuf to
279 struct mbuf **ifsd_m; /* pkthdr mbufs */
287 struct mbuf **ifsd_m; /* pkthdr mbufs */
705 static int iflib_altq_if_transmit(if_t ifp, struct mbuf *m);
719 static struct mbuf * iflib_fixup_rx(struct mbuf *m);
1658 * mbuf map. TX DMA maps (non-TSO/TSO) and TX mbuf map are kept in a
1726 /* Allocate memory for the TX mbuf map. */
1728 (struct mbuf **) malloc(sizeof(struct mbuf *) *
1730 device_printf(dev, "Unable to allocate TX mbuf map memory\n");
1843 struct mbuf **mp;
1897 * mbuf map, direct RX cluster pointer map and RX cluster bus address
1898 * map. RX DMA map, RX mbuf map, direct RX cluster pointer map and
1940 /* Allocate memory for the RX mbuf map. */
1942 (struct mbuf **) malloc(sizeof(struct mbuf *) *
1945 "Unable to allocate RX mbuf map memory\n");
2031 struct mbuf *m;
2033 struct mbuf **sd_m;
2068 * We allocate an uninitialized mbuf + cluster, mbuf is
2210 struct mbuf **sd_m = &fl->ifl_sds.ifsd_m[i];
2273 * to the selected mbuf size.
2482 * Calculate a suitable Rx mbuf size prior to calling IFDI_INIT, so
2649 static struct mbuf *
2656 struct mbuf *m;
2726 static struct mbuf *
2729 struct mbuf *m, *mh, *mt;
2757 /* XXX we can save the cluster here, but not the mbuf */
2793 static struct mbuf *
2797 struct mbuf *m;
2855 iflib_check_lro_possible(struct mbuf *m, bool v4_forwarding, bool v6_forwarding)
2908 struct mbuf *m, *mh, *mt, *mf;
3148 iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, struct mbuf **mp)
3152 struct mbuf *m;
3189 struct mbuf *n;
3321 * we'll need to remove the mbuf chain from ifsg_m[] before we can add the
3324 static __noinline struct mbuf *
3328 struct mbuf *m, **ifsd_m;
3366 * Pad an mbuf to ensure a minimum ethernet frame size.
3367 * min_frame_size is the frame size (less CRC) to pad the mbuf to
3370 iflib_ether_pad(device_t dev, struct mbuf **m_head, uint16_t min_frame_size)
3378 struct mbuf *new_head;
3410 iflib_encap(iflib_txq_t txq, struct mbuf **m_headp)
3417 struct mbuf *m_head, **ifsd_m;
3444 /* prefetch the next cache line of mbuf pointers and flags */
3510 * failed to map an mbuf that was run through m_defrag
3626 struct mbuf *m, **ifsd_m;
3706 static struct mbuf **
3710 struct mbuf **items;
3714 items = __DEVOLATILE(struct mbuf **, &r->items[0]);
3723 return (__DEVOLATILE(struct mbuf **, &r->items[(cidx + offset) & (size-1)]));
3753 struct mbuf *m, **mp;
3816 if (__predict_false(*mp == (struct mbuf *)txq)) {
3865 struct mbuf **mp;
3878 if (__predict_false(*mp == (struct mbuf *)txq))
4094 iflib_if_transmit(if_t ifp, struct mbuf *m)
4140 if ((mp = malloc(count*sizeof(struct mbuf *), M_IFLIB, M_NOWAIT)) == NULL) {
4199 struct mbuf *m;
4211 iflib_altq_if_transmit(if_t ifp, struct mbuf *m)
4816 * add another mbuf and, thus, the requirement for another DMA
5099 * add another mbuf and, thus, the requirement for another DMA
6900 static struct mbuf *
6901 iflib_fixup_rx(struct mbuf *m)
6903 struct mbuf *n;
6969 iflib_debugnet_transmit(if_t ifp, struct mbuf *m)