aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_enet.h
diff options
context:
space:
mode:
authorVasanthy Kolluri <vkolluri@cisco.com>2010-06-24 06:51:59 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-25 23:50:24 -0400
commit1825aca667196f75b193e2d509ea96ffdc8db0ca (patch)
treeae8814b42ad649e983c41cebdf8af1c91d06e7fd /drivers/net/enic/vnic_enet.h
parentb5bab85c15ed3d1ae7f917a7c077086ac6c04572 (diff)
enic: Feature Add: Add loopback capability to enic devices
Hardware has the loopback capability to queue the packets transmitted from a device to the receive queue of the same device. enic now supports the loopback capability. 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_enet.h')
-rw-r--r--drivers/net/enic/vnic_enet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_enet.h b/drivers/net/enic/vnic_enet.h
index 8eeb6758491b..42baaa13ce59 100644
--- a/drivers/net/enic/vnic_enet.h
+++ b/drivers/net/enic/vnic_enet.h
@@ -35,6 +35,7 @@ struct vnic_enet_config {
35 u8 intr_mode; 35 u8 intr_mode;
36 char devname[16]; 36 char devname[16];
37 u32 intr_timer_usec; 37 u32 intr_timer_usec;
38 u16 loop_tag;
38}; 39};
39 40
40#define VENETF_TSO 0x1 /* TSO enabled */ 41#define VENETF_TSO 0x1 /* TSO enabled */
@@ -48,5 +49,6 @@ struct vnic_enet_config {
48#define VENETF_RSSHASH_TCPIPV6 0x100 /* Hash on TCP + IPv6 fields */ 49#define VENETF_RSSHASH_TCPIPV6 0x100 /* Hash on TCP + IPv6 fields */
49#define VENETF_RSSHASH_IPV6_EX 0x200 /* Hash on IPv6 extended fields */ 50#define VENETF_RSSHASH_IPV6_EX 0x200 /* Hash on IPv6 extended fields */
50#define VENETF_RSSHASH_TCPIPV6_EX 0x400 /* Hash on TCP + IPv6 ext. fields */ 51#define VENETF_RSSHASH_TCPIPV6_EX 0x400 /* Hash on TCP + IPv6 ext. fields */
52#define VENETF_LOOP 0x800 /* Loopback enabled */
51 53
52#endif /* _VNIC_ENIC_H_ */ 54#endif /* _VNIC_ENIC_H_ */