aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2018-03-07 15:18:03 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-07 15:53:39 -0500
commitce2a27c761acaba032f61f8322ff9447fd084671 (patch)
tree08647874f9c1e7ad1cd40d79ab1be7b564317c8c /kernel
parentselftests: forwarding: fix flags passed to first drop rule in gact_drop_and_ok_test (diff)
downloadlinux-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