diff options
author | 2018-03-07 15:18:03 +0100 | |
---|---|---|
committer | 2018-03-07 15:53:39 -0500 | |
commit | ce2a27c761acaba032f61f8322ff9447fd084671 (patch) | |
tree | 08647874f9c1e7ad1cd40d79ab1be7b564317c8c /kernel | |
parent | selftests: forwarding: fix flags passed to first drop rule in gact_drop_and_ok_test (diff) | |
download | linux-dev-ce2a27c761acaba032f61f8322ff9447fd084671.tar.xz linux-dev-ce2a27c761acaba032f61f8322ff9447fd084671.zip |
net: mvpp2: Simplify MAC filtering function parameters
The mvpp2_prs_mac_da_accept function takes into parameter both the
struct representing the controller and the port id. This is meaningful
when we want to create TCAM entries for non-initialized ports, but in
this case we expect the port to be initialized before starting adding or
removing MAC addresses to the per-port filter.
This commit changes the function so that it takes struct mvpp2_port as
a parameter instead.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions