diff options
author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2014-02-12 16:09:25 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-13 18:19:22 -0500 |
commit | f93f160b5a3546b6d3143894f63a326442071e48 (patch) | |
tree | 53f2677bd1211e2d818324d3c99977fce3d75549 /net | |
parent | 40263820b4488971c6623d938be663020d6e916d (diff) |
be2net: refactor multi-channel config code for Skyhawk-R chip
Currently multi-channel configuration is read via the QUERY_FW_CONFIG cmd.
This method has been deprecated by the Skyhawk-R FW. Instead,
GET_PROFILE_CONFIG::port-desc must be used to query this configuration.
This patch also:
a) introduces a few macros to identify certain categories of multi-channel
configs
2) re-factors the be_cmd_set_profile_config() code to be able to read any kind
of desc (and not just the nic-desc.)
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions