diff options
author | 2015-02-06 08:18:41 -0500 | |
---|---|---|
committer | 2015-02-07 22:50:59 -0800 | |
commit | f66b7cfd95a5e13ca8bc4854252cd027f3d7fe86 (patch) | |
tree | ca0b6cb340e32bd3e7fad4fa583383acd3766423 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be2net: remove duplicate code in be_cmd_rx_filter() (diff) | |
download | wireguard-linux-f66b7cfd95a5e13ca8bc4854252cd027f3d7fe86.tar.xz wireguard-linux-f66b7cfd95a5e13ca8bc4854252cd027f3d7fe86.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions