Skip to content

Commit

Permalink
enic: Add new firmware devcmds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roopa Prabhu authored and David S. Miller committed Aug 17, 2010
1 parent 90cf0b5 commit ae94abe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/net/enic/vnic_devcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,18 @@ enum vnic_devcmd_cmd {
* out: (u32)a0=status of proxied cmd
* a1-a15=out args of proxied cmd */
CMD_PROXY_BY_BDF = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 42),

/*
* As for BY_BDF except a0 is index of hvnlink subordinate vnic
* or SR-IOV virtual vnic */
CMD_PROXY_BY_INDEX = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 43),

/*
* in: (u64)a0=paddr of buffer to put latest VIC VIF-CONFIG-INFO TLV in
* (u32)a1=length of buffer in a0
* out: (u64)a0=paddr of buffer with latest VIC VIF-CONFIG-INFO TLV
* (u32)a1=actual length of latest VIC VIF-CONFIG-INFO TLV */
CMD_CONFIG_INFO_GET = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 44),
};

/* flags for CMD_OPEN */
Expand Down

0 comments on commit ae94abe

Please sign in to comment.