switchdev: rename switchdev_obj_fdb to switchdev_obj_port_fdb
Make the struct name in sync with object id name. Suggested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Scott Feldman <sfeldma@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
8f24f3095d
commit
52ba57cfdc
@@ -341,7 +341,7 @@ static int dsa_slave_port_vlan_dump(struct net_device *dev,
|
||||
}
|
||||
|
||||
static int dsa_slave_port_fdb_add(struct net_device *dev,
|
||||
const struct switchdev_obj_fdb *fdb,
|
||||
const struct switchdev_obj_port_fdb *fdb,
|
||||
struct switchdev_trans *trans)
|
||||
{
|
||||
struct dsa_slave_priv *p = netdev_priv(dev);
|
||||
@@ -357,7 +357,7 @@ static int dsa_slave_port_fdb_add(struct net_device *dev,
|
||||
}
|
||||
|
||||
static int dsa_slave_port_fdb_del(struct net_device *dev,
|
||||
const struct switchdev_obj_fdb *fdb)
|
||||
const struct switchdev_obj_port_fdb *fdb)
|
||||
{
|
||||
struct dsa_slave_priv *p = netdev_priv(dev);
|
||||
struct dsa_switch *ds = p->parent;
|
||||
@@ -370,7 +370,7 @@ static int dsa_slave_port_fdb_del(struct net_device *dev,
|
||||
}
|
||||
|
||||
static int dsa_slave_port_fdb_dump(struct net_device *dev,
|
||||
struct switchdev_obj_fdb *fdb,
|
||||
struct switchdev_obj_port_fdb *fdb,
|
||||
int (*cb)(void *obj))
|
||||
{
|
||||
struct dsa_slave_priv *p = netdev_priv(dev);
|
||||
|
Reference in New Issue
Block a user