Lines Matching refs:mbuf

79 #include <sys/mbuf.h>
402 static void bge_rxcsum(struct bge_softc *, struct bge_rx_bd *, struct mbuf *);
410 static struct mbuf *bge_check_short_dma(struct mbuf *);
411 static struct mbuf *bge_setup_tso(struct bge_softc *, struct mbuf *,
413 static int bge_encap(struct bge_softc *, struct mbuf **, uint32_t *);
1278 struct mbuf *m;
1340 struct mbuf *m;
1939 /* Note: the BCM5704 has a smaller mbuf space than other chips. */
1942 /* Configure mbuf memory pool */
1955 /* Configure mbuf pool watermarks */
4329 struct mbuf *m = NULL;
4449 bge_rxcsum(struct bge_softc *sc, struct bge_rx_bd *cur_rx, struct mbuf *m)
5019 bge_cksum_pad(struct mbuf *m)
5022 struct mbuf *last;
5030 * Walk packet chain to find last mbuf. We will either
5031 * pad there, or append a new mbuf and pad it.
5035 /* Allocate new empty mbuf, pad it. Compact later. */
5036 struct mbuf *n;
5055 static struct mbuf *
5056 bge_check_short_dma(struct mbuf *m)
5058 struct mbuf *n;
5065 * to occur. Scan mbuf chains and see whether two back-to-back
5066 * send BDs are there. If this is the case, allocate new mbuf
5088 static struct mbuf *
5089 bge_setup_tso(struct bge_softc *sc, struct mbuf *m, uint16_t *mss,
5094 struct mbuf *n;
5161 * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data
5165 bge_encap(struct bge_softc *sc, struct mbuf **m_head, uint32_t *txidx)
5170 struct mbuf *m = *m_head;
5212 * Forcedly collapse mbuf chains to overcome hardware
5327 * Main transmit routine. To avoid having to do mbuf copies, we put pointers
5328 * to the mbuf data regions directly in the transmit descriptors.
5334 struct mbuf *m_head;
5401 * Main transmit routine. To avoid having to do mbuf copies, we put pointers
5402 * to the mbuf data regions directly in the transmit descriptors.
6807 bge_debugnet_transmit(if_t ifp, struct mbuf *m)