• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/hyperv/netvsc/

Lines Matching refs:mbuf

70 #include <sys/mbuf.h>
207 struct mbuf *m;
276 static int hn_transmit(struct ifnet *, struct mbuf *);
294 static void hn_xpnt_vf_input(struct ifnet *, struct mbuf *);
404 static int hn_check_iplen(const struct mbuf *, int);
405 static void hn_rxpkt_proto(const struct mbuf *, int *, int *);
425 struct hn_txdesc *, struct mbuf **);
577 /* Enable sorted LRO, and the depth of the per-channel mbuf queue */
581 &hn_lro_mbufq_depth, 0, "Depth of LRO mbuf queue");
765 static __inline struct mbuf *
766 hn_tso_fixup(struct mbuf *m_head)
772 KASSERT(M_WRITABLE(m_head), ("TSO mbuf not writable"));
829 static __inline struct mbuf *
830 hn_set_hlen(struct mbuf *m_head)
898 static __inline struct mbuf *
899 hn_check_tcpsyn(struct mbuf *m_head, int *tcpsyn)
1362 hn_xpnt_vf_input(struct ifnet *vf_ifp, struct mbuf *m)
1366 struct mbuf *mn;
1393 * requires two checks on the mbuf: the length check
1412 * mbuf chain.
1592 if_printf(ifp, "disable IPV4 mbuf hash delivery\n");
1601 if_printf(ifp, "disable IPV6 mbuf hash delivery\n");
1610 if_printf(ifp, "disable IPV6_EX mbuf hash delivery\n");
1616 if_printf(ifp, "disable TCP_IPV6 mbuf hash delivery\n");
1622 if_printf(ifp, "disable TCP_IPV6_EX mbuf hash delivery\n");
1628 if_printf(ifp, "disable UDP_IPV6 mbuf hash delivery\n");
1634 if_printf(ifp, "disable UDP_IPV6_EX mbuf hash delivery\n");
2665 struct mbuf **m_head, bus_dma_segment_t *segs, int *nsegs)
2667 struct mbuf *m = *m_head;
2675 struct mbuf *m_new;
2945 struct mbuf *m;
2959 * Since txd's mbuf will _not_ be freed upon hn_txpkt()
3057 struct mbuf **m_head0)
3061 struct mbuf *m_head = *m_head0;
3210 * This mbuf is not linked w/ the txd yet, so free it now.
3234 * Fill the page buffers with mbuf info after the page
3265 * If this function fails, then txd will be freed, but the mbuf
3335 * associated mbuf, so don't free it in hn_txdesc_put();
3356 * Append the specified data to the indicated mbuf chain,
3357 * Extend the mbuf chain if the new data does not fit in
3361 * There should be an equivalent in the kernel mbuf code,
3368 * Return the last mbuf in the chain or NULL if failed to
3369 * allocate new mbuf.
3371 static struct mbuf *
3372 hv_m_append(struct mbuf *m0, int len, c_caddr_t cp)
3374 struct mbuf *m, *n;
3394 * Allocate a new mbuf; could check space
3413 hn_lro_rx(struct lro_ctrl *lc, struct mbuf *m)
3429 struct mbuf *m_new, *n;
3476 * Get an mbuf with a cluster. For packets 2K or less,
4839 hn_check_iplen(const struct mbuf *m, int hoff)
4852 /* The fixed IP header must reside completely in the first mbuf. */
4863 /* The full IP header must reside completely in the one mbuf. */
4914 hn_rxpkt_proto(const struct mbuf *m_new, int *l3proto, int *l4proto)
5404 KASSERT(txd->m == NULL, ("still has mbuf installed"));
5534 hn_tx_stat_ulong_sysctl, "LU", "# of TX mbuf collapsed");
5738 struct mbuf *m_head;
5792 ("pending mbuf for aggregating txdesc"));
5800 KASSERT(m_head != NULL, ("mbuf was freed"));
5816 ("pending mbuf for aggregating txdesc"));
5900 struct mbuf *m_head;
5951 ("pending mbuf for aggregating txdesc"));
5958 KASSERT(m_head != NULL, ("mbuf was freed"));
5974 ("pending mbuf for aggregating txdesc"));
5989 hn_transmit(struct ifnet *ifp, struct mbuf *m)
6000 struct mbuf *m_bpf = NULL;
6134 struct mbuf *m;