Deleted Added
full compact
if_hnvar.h (311368) if_hnvar.h (311375)
1/*-
2 * Copyright (c) 2016 Microsoft Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2016 Microsoft Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: stable/11/sys/dev/hyperv/netvsc/if_hnvar.h 311368 2017-01-05 05:51:00Z sephe $
26 * $FreeBSD: stable/11/sys/dev/hyperv/netvsc/if_hnvar.h 311375 2017-01-05 06:25:16Z sephe $
27 */
28
29#ifndef _IF_HNVAR_H_
30#define _IF_HNVAR_H_
31
32#define HN_USE_TXDESC_BUFRING
33
34#define HN_CHIM_SIZE (15 * 1024 * 1024)

--- 172 unchanged lines hidden (view full) ---

207 struct taskqueue *hn_mgmt_taskq0;
208 struct task hn_link_task;
209 struct task hn_netchg_init;
210 struct timeout_task hn_netchg_status;
211 uint32_t hn_link_flags; /* HN_LINK_FLAG_ */
212
213 uint32_t hn_caps; /* HN_CAP_ */
214 uint32_t hn_flags; /* HN_FLAG_ */
27 */
28
29#ifndef _IF_HNVAR_H_
30#define _IF_HNVAR_H_
31
32#define HN_USE_TXDESC_BUFRING
33
34#define HN_CHIM_SIZE (15 * 1024 * 1024)

--- 172 unchanged lines hidden (view full) ---

207 struct taskqueue *hn_mgmt_taskq0;
208 struct task hn_link_task;
209 struct task hn_netchg_init;
210 struct timeout_task hn_netchg_status;
211 uint32_t hn_link_flags; /* HN_LINK_FLAG_ */
212
213 uint32_t hn_caps; /* HN_CAP_ */
214 uint32_t hn_flags; /* HN_FLAG_ */
215 u_int hn_pollhz;
216
215 void *hn_rxbuf;
216 uint32_t hn_rxbuf_gpadl;
217 struct hyperv_dma hn_rxbuf_dma;
218
219 uint32_t hn_chim_gpadl;
220 struct hyperv_dma hn_chim_dma;
221
222 uint32_t hn_rndis_rid;

--- 56 unchanged lines hidden ---
217 void *hn_rxbuf;
218 uint32_t hn_rxbuf_gpadl;
219 struct hyperv_dma hn_rxbuf_dma;
220
221 uint32_t hn_chim_gpadl;
222 struct hyperv_dma hn_chim_dma;
223
224 uint32_t hn_rndis_rid;

--- 56 unchanged lines hidden ---