diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2018-03-07 15:18:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 15:53:39 -0500 |
commit | ce2a27c761acaba032f61f8322ff9447fd084671 (patch) | |
tree | 08647874f9c1e7ad1cd40d79ab1be7b564317c8c /drivers/net/bonding/bond_netlink.c | |
parent | dff58a09d77e152056a4803ff89b6ec3fc6c9b2c (diff) |
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 'drivers/net/bonding/bond_netlink.c')
0 files changed, 0 insertions, 0 deletions