summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Klein <osstklei@de.ibm.com>2007-01-22 12:52:50 +0100
committerJeff Garzik <jeff@garzik.org>2007-01-23 00:59:20 -0500
commit602e0d100daa9ba9bc7c17e0014a6f76b638dc80 (patch)
tree0033104abccaabf253d2da1017de8098ae2fec69 /drivers
parent061bf3cdba753ae7b52fba8cc324d81adac77696 (diff)
downloadop-kernel-dev-602e0d100daa9ba9bc7c17e0014a6f76b638dc80.zip
op-kernel-dev-602e0d100daa9ba9bc7c17e0014a6f76b638dc80.tar.gz
ehea: Fixing firmware queue config issue
Fix to use exactly one queue for incoming packets in all firmware configurations Signed-off-by: Thomas Klein <tklein@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ehea/ehea_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index 49f669c..3e9c760 100644
--- a/drivers/net/ehea/ehea_main.c
+++ b/drivers/net/ehea/ehea_main.c
@@ -998,7 +998,7 @@ static int ehea_configure_port(struct ehea_port *port)
| EHEA_BMASK_SET(PXLY_RC_JUMBO_FRAME, 1);
for (i = 0; i < port->num_def_qps; i++)
- cb0->default_qpn_arr[i] = port->port_res[i].qp->init_attr.qp_nr;
+ cb0->default_qpn_arr[i] = port->port_res[0].qp->init_attr.qp_nr;
if (netif_msg_ifup(port))
ehea_dump(cb0, sizeof(*cb0), "ehea_configure_port");
OpenPOWER on IntegriCloud