diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-06-24 12:51:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-26 05:50:24 +0200 |
commit | 1825aca667196f75b193e2d509ea96ffdc8db0ca (patch) | |
tree | ae8814b42ad649e983c41cebdf8af1c91d06e7fd /drivers/net/enic/enic_res.c | |
parent | enic: Use receive queue buffer blocks of 32/64 entries (diff) | |
download | linux-1825aca667196f75b193e2d509ea96ffdc8db0ca.tar.xz linux-1825aca667196f75b193e2d509ea96ffdc8db0ca.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/enic/enic_res.c b/drivers/net/enic/enic_res.c index 478928b7cc09..2cc7e278caae 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, |