diff options
author | Dmitry Kravkov <Dmitry.Kravkov@qlogic.com> | 2014-09-17 17:24:36 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-20 00:31:08 +0400 |
commit | 2e98ffc21cacb170c2d2c01d110ed53fedb95768 (patch) | |
tree | b7fa954dbcedc99c928d8d947b97e2aecf564b26 /include/net | |
parent | 77f4f6220a98f4f3eb08be10230d7e8c604aa2b8 (diff) | |
download | linux-2e98ffc21cacb170c2d2c01d110ed53fedb95768.tar.xz |
bnx2x: Changes with storage & MAC macros
Rearrange macros to query for storage-only modes in different MF environment.
Improves the readibility and maintainability of the code. E.g.:
- if (IS_MF_STORAGE_SD(bp) || IS_MF_FCOE_AFEX(bp))
+ if (IS_MF_STORAGE_ONLY(bp))
In addition, this removes the need for bnx2x_is_valid_ether_addr().
Signed-off-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions