qlcnic: Add support for configuring eswitch and npars
authorRajesh K Borundia <rajesh.borundia@qlogic.com>
Tue, 29 Jun 2010 08:01:20 +0000 (08:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 22:12:36 +0000 (15:12 -0700)
commit346fe763d7706cccdf90ba24f04f0facdd79b91a
tree45ba5093b60ca7ac2df3b56c882fd97fd3413deb
parent45918e2fe582d845a2649ffa015754ae44be9a8b
qlcnic: Add support for configuring eswitch and npars

Following changes are made:
1.Obtain capabilities of Nic partition.
2.Configure tx bandwidth of particular Nic partition.
3.Configure the eswitch for setting port mirroring, enable mac
learning, promiscous mode.

Signed-off-by: Rajesh K Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_ctx.c
drivers/net/qlcnic/qlcnic_main.c