summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic_res.c
diff options
context:
space:
mode:
authorVasanthy Kolluri <vkolluri@cisco.com>2010-06-24 10:51:59 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-25 20:50:24 -0700
commit1825aca667196f75b193e2d509ea96ffdc8db0ca (patch)
treeae8814b42ad649e983c41cebdf8af1c91d06e7fd /drivers/net/enic/enic_res.c
parentb5bab85c15ed3d1ae7f917a7c077086ac6c04572 (diff)
downloadop-kernel-dev-1825aca667196f75b193e2d509ea96ffdc8db0ca.zip
op-kernel-dev-1825aca667196f75b193e2d509ea96ffdc8db0ca.tar.gz
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_res.c')
-rw-r--r--drivers/net/enic/enic_res.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/enic/enic_res.c b/drivers/net/enic/enic_res.c
index 478928b..2cc7e27 100644
--- a/drivers/net/enic/enic_res.c
+++ b/drivers/net/enic/enic_res.c
@@ -70,6 +70,7 @@ int enic_get_vnic_config(struct enic *enic)
GET_CONFIG(intr_timer_type);
GET_CONFIG(intr_mode);
GET_CONFIG(intr_timer_usec);
+ GET_CONFIG(loop_tag);
c->wq_desc_count =
min_t(u32, ENIC_MAX_WQ_DESCS,
OpenPOWER on IntegriCloud