blob: 6d0df334124a732a6eabfcf32b52c9cbce42c3d1 [file] [log] [blame]
Ariel Elior1ab44342013-01-01 05:22:23 +00001/* bnx2x_sriov.h: Broadcom Everest network driver.
2 *
3 * Copyright 2009-2012 Broadcom Corporation
4 *
5 * Unless you and Broadcom execute a separate written software license
6 * agreement governing use of this software, this software is licensed to you
7 * under the terms of the GNU General Public License version 2, available
8 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
9 *
10 * Notwithstanding the above, under no circumstances may you combine this
11 * software in any way with any other Broadcom software provided under a
12 * license other than the GPL, without Broadcom's express prior written
13 * consent.
14 *
15 * Maintained by: Eilon Greenstein <eilong@broadcom.com>
16 * Written by: Shmulik Ravid <shmulikr@broadcom.com>
17 * Ariel Elior <ariele@broadcom.com>
18 */
19#ifndef BNX2X_SRIOV_H
20#define BNX2X_SRIOV_H
21
22struct bnx2x_vf_mbx_msg {
23 union vfpf_tlvs req;
24 union pfvf_tlvs resp;
25};
26
Ariel Eliorbe1f1ffa2013-01-01 05:22:24 +000027void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, u16 offset, u16 type,
28 u16 length);
29void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv,
30 u16 type, u16 length);
31void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list);
Ariel Elior1ab44342013-01-01 05:22:23 +000032#endif /* bnx2x_sriov.h */