.. | .. |
---|
1 | 1 | #ifndef _HFI1_VNIC_H |
---|
2 | 2 | #define _HFI1_VNIC_H |
---|
3 | 3 | /* |
---|
4 | | - * Copyright(c) 2017 Intel Corporation. |
---|
| 4 | + * Copyright(c) 2017 - 2020 Intel Corporation. |
---|
5 | 5 | * |
---|
6 | 6 | * This file is provided under a dual BSD/GPLv2 license. When using or |
---|
7 | 7 | * redistributing this file, you may do so under either license. |
---|
.. | .. |
---|
69 | 69 | #define HFI1_VNIC_SC_SHIFT 4 |
---|
70 | 70 | |
---|
71 | 71 | #define HFI1_VNIC_MAX_QUEUE 16 |
---|
| 72 | +#define HFI1_NUM_VNIC_CTXT 8 |
---|
72 | 73 | |
---|
73 | 74 | /** |
---|
74 | 75 | * struct hfi1_vnic_sdma - VNIC per Tx ring SDMA information |
---|
.. | .. |
---|
104 | 105 | struct hfi1_vnic_vport_info *vinfo; |
---|
105 | 106 | struct net_device *netdev; |
---|
106 | 107 | struct napi_struct napi; |
---|
107 | | - struct sk_buff_head skbq; |
---|
108 | 108 | }; |
---|
109 | 109 | |
---|
110 | 110 | /** |
---|
.. | .. |
---|
146 | 146 | |
---|
147 | 147 | /* vnic hfi1 internal functions */ |
---|
148 | 148 | void hfi1_vnic_setup(struct hfi1_devdata *dd); |
---|
149 | | -void hfi1_vnic_cleanup(struct hfi1_devdata *dd); |
---|
150 | 149 | int hfi1_vnic_txreq_init(struct hfi1_devdata *dd); |
---|
151 | 150 | void hfi1_vnic_txreq_deinit(struct hfi1_devdata *dd); |
---|
152 | 151 | |
---|