diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-06-24 06:51:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 23:50:23 -0400 |
commit | 70feadf36df94dc0dc2f32fec4c131ecd75344f2 (patch) | |
tree | 2b397cecaedf4c42134f4d1281ab74c5b8c1be79 /drivers/net/enic/vnic_dev.h | |
parent | a7a79debcca02fbf908c0abed8d8fb25d0e51b48 (diff) |
enic: Add new firmware devcmds
Add new firmware devcmds - CMD_PROXY_BY_BDF, CMD_PACKET_FILTER_ALL,
CMD_ENABLE_WAIT.
Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index 11659c6678f5..cfdaa69bf5a5 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -95,6 +95,8 @@ void vnic_dev_free_desc_ring(struct vnic_dev *vdev, | |||
95 | struct vnic_dev_ring *ring); | 95 | struct vnic_dev_ring *ring); |
96 | int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, | 96 | int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, |
97 | u64 *a0, u64 *a1, int wait); | 97 | u64 *a0, u64 *a1, int wait); |
98 | void vnic_dev_cmd_proxy_by_bdf_start(struct vnic_dev *vdev, u16 bdf); | ||
99 | void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev); | ||
98 | int vnic_dev_fw_info(struct vnic_dev *vdev, | 100 | int vnic_dev_fw_info(struct vnic_dev *vdev, |
99 | struct vnic_devcmd_fw_info **fw_info); | 101 | struct vnic_devcmd_fw_info **fw_info); |
100 | int vnic_dev_hw_version(struct vnic_dev *vdev, | 102 | int vnic_dev_hw_version(struct vnic_dev *vdev, |
@@ -106,6 +108,8 @@ int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats); | |||
106 | int vnic_dev_hang_notify(struct vnic_dev *vdev); | 108 | int vnic_dev_hang_notify(struct vnic_dev *vdev); |
107 | int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, | 109 | int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, |
108 | int broadcast, int promisc, int allmulti); | 110 | int broadcast, int promisc, int allmulti); |
111 | int vnic_dev_packet_filter_all(struct vnic_dev *vdev, int directed, | ||
112 | int multicast, int broadcast, int promisc, int allmulti); | ||
109 | int vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); | 113 | int vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); |
110 | int vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); | 114 | int vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); |
111 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); | 115 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); |
@@ -124,6 +128,7 @@ u32 vnic_dev_notify_status(struct vnic_dev *vdev); | |||
124 | u32 vnic_dev_uif(struct vnic_dev *vdev); | 128 | u32 vnic_dev_uif(struct vnic_dev *vdev); |
125 | int vnic_dev_close(struct vnic_dev *vdev); | 129 | int vnic_dev_close(struct vnic_dev *vdev); |
126 | int vnic_dev_enable(struct vnic_dev *vdev); | 130 | int vnic_dev_enable(struct vnic_dev *vdev); |
131 | int vnic_dev_enable_wait(struct vnic_dev *vdev); | ||
127 | int vnic_dev_disable(struct vnic_dev *vdev); | 132 | int vnic_dev_disable(struct vnic_dev *vdev); |
128 | int vnic_dev_open(struct vnic_dev *vdev, int arg); | 133 | int vnic_dev_open(struct vnic_dev *vdev, int arg); |
129 | int vnic_dev_open_done(struct vnic_dev *vdev, int *done); | 134 | int vnic_dev_open_done(struct vnic_dev *vdev, int *done); |