forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/infiniband/hw/hfi1/vnic.h
....@@ -1,7 +1,7 @@
11 #ifndef _HFI1_VNIC_H
22 #define _HFI1_VNIC_H
33 /*
4
- * Copyright(c) 2017 Intel Corporation.
4
+ * Copyright(c) 2017 - 2020 Intel Corporation.
55 *
66 * This file is provided under a dual BSD/GPLv2 license. When using or
77 * redistributing this file, you may do so under either license.
....@@ -69,6 +69,7 @@
6969 #define HFI1_VNIC_SC_SHIFT 4
7070
7171 #define HFI1_VNIC_MAX_QUEUE 16
72
+#define HFI1_NUM_VNIC_CTXT 8
7273
7374 /**
7475 * struct hfi1_vnic_sdma - VNIC per Tx ring SDMA information
....@@ -104,7 +105,6 @@
104105 struct hfi1_vnic_vport_info *vinfo;
105106 struct net_device *netdev;
106107 struct napi_struct napi;
107
- struct sk_buff_head skbq;
108108 };
109109
110110 /**
....@@ -146,7 +146,6 @@
146146
147147 /* vnic hfi1 internal functions */
148148 void hfi1_vnic_setup(struct hfi1_devdata *dd);
149
-void hfi1_vnic_cleanup(struct hfi1_devdata *dd);
150149 int hfi1_vnic_txreq_init(struct hfi1_devdata *dd);
151150 void hfi1_vnic_txreq_deinit(struct hfi1_devdata *dd);
152151