diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-06-24 06:51:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 23:50:24 -0400 |
commit | 1825aca667196f75b193e2d509ea96ffdc8db0ca (patch) | |
tree | ae8814b42ad649e983c41cebdf8af1c91d06e7fd /drivers/net/enic/enic.h | |
parent | b5bab85c15ed3d1ae7f917a7c077086ac6c04572 (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/enic.h')
-rw-r--r-- | drivers/net/enic/enic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h index 3588ef5e7e4c..7280314804a3 100644 --- a/drivers/net/enic/enic.h +++ b/drivers/net/enic/enic.h | |||
@@ -110,6 +110,8 @@ struct enic { | |||
110 | spinlock_t wq_lock[ENIC_WQ_MAX]; | 110 | spinlock_t wq_lock[ENIC_WQ_MAX]; |
111 | unsigned int wq_count; | 111 | unsigned int wq_count; |
112 | struct vlan_group *vlan_group; | 112 | struct vlan_group *vlan_group; |
113 | u16 loop_enable; | ||
114 | u16 loop_tag; | ||
113 | 115 | ||
114 | /* receive queue cache line section */ | 116 | /* receive queue cache line section */ |
115 | ____cacheline_aligned struct vnic_rq rq[ENIC_RQ_MAX]; | 117 | ____cacheline_aligned struct vnic_rq rq[ENIC_RQ_MAX]; |