aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic
diff options
context:
space:
mode:
authorRoopa Prabhu <roprabhu@cisco.com>2010-08-10 14:55:05 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-17 05:32:57 -0400
commitae94abe1687871d9772494b3d378c6d3decd7f75 (patch)
tree281cbbd00c476444d02d8d9543c0e290644b9363 /drivers/net/enic
parent90cf0b53d74ebca4f62d865ae39d21ed3bdbf877 (diff)
enic: Add new firmware devcmds
Add new firmware devcmds: CMD_PROXY_BY_INDEX, CMD_CONFIG_INFO_GET Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic')
-rw-r--r--drivers/net/enic/vnic_devcmd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_devcmd.h b/drivers/net/enic/vnic_devcmd.h
index 20661755df6b..9abb3d51dea1 100644
--- a/drivers/net/enic/vnic_devcmd.h
+++ b/drivers/net/enic/vnic_devcmd.h
@@ -238,6 +238,18 @@ enum vnic_devcmd_cmd {
238 * out: (u32)a0=status of proxied cmd 238 * out: (u32)a0=status of proxied cmd
239 * a1-a15=out args of proxied cmd */ 239 * a1-a15=out args of proxied cmd */
240 CMD_PROXY_BY_BDF = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 42), 240 CMD_PROXY_BY_BDF = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 42),
241
242 /*
243 * As for BY_BDF except a0 is index of hvnlink subordinate vnic
244 * or SR-IOV virtual vnic */
245 CMD_PROXY_BY_INDEX = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 43),
246
247 /*
248 * in: (u64)a0=paddr of buffer to put latest VIC VIF-CONFIG-INFO TLV in
249 * (u32)a1=length of buffer in a0
250 * out: (u64)a0=paddr of buffer with latest VIC VIF-CONFIG-INFO TLV
251 * (u32)a1=actual length of latest VIC VIF-CONFIG-INFO TLV */
252 CMD_CONFIG_INFO_GET = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 44),
241}; 253};
242 254
243/* flags for CMD_OPEN */ 255/* flags for CMD_OPEN */