blob: 825c007d50f1b5d2f542d4d22260721a3f70302d [file] [log] [blame]
Yuval Mintz0b55e272016-05-11 16:36:15 +03001/* QLogic qed NIC Driver
2 * Copyright (c) 2015 QLogic Corporation
3 *
4 * This software is available under the terms of the GNU General Public License
5 * (GPL) Version 2, available from the file COPYING in the main directory of
6 * this source tree.
7 */
8
9#ifndef _QED_IOV_IF_H
10#define _QED_IOV_IF_H
11
12#include <linux/qed/qed_if.h>
13
14/* Structs used by PF to control and manipulate child VFs */
15struct qed_iov_hv_ops {
16 int (*configure)(struct qed_dev *cdev, int num_vfs_param);
17
Yuval Mintz08feecd2016-05-11 16:36:20 +030018 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid);
Yuval Mintz0b55e272016-05-11 16:36:15 +030019};
20
21#endif