diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2015-02-06 08:18:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-07 22:50:59 -0800 |
commit | f66b7cfd95a5e13ca8bc4854252cd027f3d7fe86 (patch) | |
tree | ca0b6cb340e32bd3e7fad4fa583383acd3766423 /block/blk-iopoll.c | |
parent | ac34b74378a15b01d16ae84d616b405dd0948ecb (diff) |
be2net: refactor be_set_rx_mode() and be_vid_config() for readability
This patch re-factors the filter setting (uc-list, mc-list, promisc, vlan)
code in be_set_rx_mode() and be_vid_config() to make it more readable
and reduce code duplication.
This patch adds a separate field to track the state/mode of filtering,
along with moving all the filtering related fields to one place in be
be_adapter structure.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions