be2net: Fixup profile management routines
authorVasundhara Volam <vasundhara.volam@emulex.com>
Tue, 27 Aug 2013 11:27:31 +0000 (16:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Aug 2013 19:57:04 +0000 (15:57 -0400)
commit150d58c7094ee02e5e3e876e288a95e254c5e830
treefd373e0b1bef675bcd3db293158bf8ccb187db46
parentf2f781a759e0471e440668c7c90c03696b73b65e
be2net: Fixup profile management routines

1) Parse PCIe descriptor for max-VFs supported by HW
2) Cleanup NIC descriptor parsing in get_func/profile_config() routines
3) Use common struct definitions for v0 and v1 versions of GET_FUNC_CONFIG
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h