if_hnvar.h (311365) | if_hnvar.h (311368) |
---|---|
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 311365 2017-01-05 05:29:51Z sephe $ | 26 * $FreeBSD: stable/11/sys/dev/hyperv/netvsc/if_hnvar.h 311368 2017-01-05 05:51:00Z 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) --- 152 unchanged lines hidden (view full) --- 187 188 uint8_t *hn_chim; 189 u_long *hn_chim_bmap; 190 int hn_chim_bmap_cnt; 191 int hn_chim_cnt; 192 int hn_chim_szmax; 193 194 int hn_cpu; | 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) --- 152 unchanged lines hidden (view full) --- 187 188 uint8_t *hn_chim; 189 u_long *hn_chim_bmap; 190 int hn_chim_bmap_cnt; 191 int hn_chim_cnt; 192 int hn_chim_szmax; 193 194 int hn_cpu; |
195 struct taskqueue *hn_tx_taskq; | 195 struct taskqueue **hn_tx_taskqs; |
196 struct sysctl_oid *hn_tx_sysctl_tree; 197 struct sysctl_oid *hn_rx_sysctl_tree; 198 struct vmbus_xact_ctx *hn_xact; 199 uint32_t hn_nvs_ver; 200 uint32_t hn_rx_filter; 201 202 /* Packet transmission aggregation user settings. */ 203 int hn_agg_size; --- 75 unchanged lines hidden --- | 196 struct sysctl_oid *hn_tx_sysctl_tree; 197 struct sysctl_oid *hn_rx_sysctl_tree; 198 struct vmbus_xact_ctx *hn_xact; 199 uint32_t hn_nvs_ver; 200 uint32_t hn_rx_filter; 201 202 /* Packet transmission aggregation user settings. */ 203 int hn_agg_size; --- 75 unchanged lines hidden --- |