Home
last modified time | relevance | path

Searched hist:"6567125372 a64d430030336ee5777a4073aa5d76" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/netfront/
H A Dnetfront.cdiff 6567125372a64d430030336ee5777a4073aa5d76 Mon Jun 06 17:01:24 CEST 2016 Roger Pau Monné <royger@FreeBSD.org> xen-netfront: fix initialization

A couple of mostly cosmetic fixes for the final initialization of netfront:

- Switch to "connected" state before starting to kick the rings.
- Correctly use "rxq" in the initialization loop (previously rxq was not
updated in the loop, and netfront would kick np->rxq[N] several times).
- Declare and define xn_connect as static, it's not used outside of this
file.

Reviewed by: Wei Liu <wei.liu2@citrix.com>
Sponsored by: Citrix Systems R&D
Differential revision: https://reviews.freebsd.org/D6657