git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/enic: fix flow director SCTP matching
[dpdk.git]
/
drivers
/
net
/
qede
/
base
/
ecore_vf.h
diff --git
a/drivers/net/qede/base/ecore_vf.h
b/drivers/net/qede/base/ecore_vf.h
index
fdb0fe0
..
a07f82e
100644
(file)
--- a/
drivers/net/qede/base/ecore_vf.h
+++ b/
drivers/net/qede/base/ecore_vf.h
@@
-1,9
+1,7
@@
-/*
- * Copyright (c) 2016
QLogic Corporation
.
+/*
SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016
- 2018 Cavium Inc
.
* All rights reserved.
* All rights reserved.
- * www.qlogic.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * www.cavium.com
*/
#ifndef __ECORE_VF_H__
*/
#ifndef __ECORE_VF_H__
@@
-50,6
+48,13
@@
struct ecore_vf_iov {
*/
struct ecore_sb_info *sbs_info[PFVF_MAX_SBS_PER_VF];
*/
struct ecore_sb_info *sbs_info[PFVF_MAX_SBS_PER_VF];
+#ifdef CONFIG_ECORE_SW_CHANNEL
+ /* Would be set if the VF is to try communicating with it PF
+ * using a hw channel.
+ */
+ bool b_hw_channel;
+#endif
+
/* Determines whether VF utilizes doorbells via limited register
* bar or via the doorbell bar.
*/
/* Determines whether VF utilizes doorbells via limited register
* bar or via the doorbell bar.
*/
@@
-312,5
+317,14
@@
void ecore_vf_set_vf_start_tunn_update_param(struct ecore_tunnel_info *p_tun);
u32 ecore_vf_hw_bar_size(struct ecore_hwfn *p_hwfn,
enum BAR_ID bar_id);
u32 ecore_vf_hw_bar_size(struct ecore_hwfn *p_hwfn,
enum BAR_ID bar_id);
+
+/**
+ * @brief - ecore_vf_pf_update_mtu Update MTU for VF.
+ *
+ * @param p_hwfn
+ * @param - mtu
+ */
+enum _ecore_status_t
+ecore_vf_pf_update_mtu(struct ecore_hwfn *p_hwfn, u16 mtu);
#endif
#endif /* __ECORE_VF_H__ */
#endif
#endif /* __ECORE_VF_H__ */