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>
 
 static int rocker_port_fdb_add(struct rocker_port *rocker_port,
                               struct switchdev_trans *trans,
-                              const struct switchdev_obj_fdb *fdb)
+                              const struct switchdev_obj_port_fdb *fdb)
 {
        __be16 vlan_id = rocker_port_vid_to_vlan(rocker_port, fdb->vid, NULL);
        int flags = 0;
 
 static int rocker_port_fdb_del(struct rocker_port *rocker_port,
                               struct switchdev_trans *trans,
-                              const struct switchdev_obj_fdb *fdb)
+                              const struct switchdev_obj_port_fdb *fdb)
 {
        __be16 vlan_id = rocker_port_vid_to_vlan(rocker_port, fdb->vid, NULL);
        int flags = ROCKER_OP_FLAG_NOWAIT | ROCKER_OP_FLAG_REMOVE;
 }
 
 static int rocker_port_fdb_dump(const struct rocker_port *rocker_port,
-                               struct switchdev_obj_fdb *fdb,
+                               struct switchdev_obj_port_fdb *fdb,
                                int (*cb)(void *obj))
 {
        struct rocker *rocker = rocker_port->rocker;
 
 };
 
 /* SWITCHDEV_OBJ_ID_PORT_FDB */
-struct switchdev_obj_fdb {
+struct switchdev_obj_port_fdb {
        const unsigned char *addr;
        u16 vid;
        u16 ndm_state;
 
 
 static void fdb_del_external_learn(struct net_bridge_fdb_entry *f)
 {
-       struct switchdev_obj_fdb fdb = {
+       struct switchdev_obj_port_fdb fdb = {
                .addr = f->addr.addr,
                .vid = f->vlan_id,
        };
 
 }
 
 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);
 }
 
 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;
 }
 
 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);
 
                           struct net_device *dev, const unsigned char *addr,
                           u16 vid, u16 nlm_flags)
 {
-       struct switchdev_obj_fdb fdb = {
+       struct switchdev_obj_port_fdb fdb = {
                .addr = addr,
                .vid = vid,
        };
                           struct net_device *dev, const unsigned char *addr,
                           u16 vid)
 {
-       struct switchdev_obj_fdb fdb = {
+       struct switchdev_obj_port_fdb fdb = {
                .addr = addr,
                .vid = vid,
        };
 EXPORT_SYMBOL_GPL(switchdev_port_fdb_del);
 
 struct switchdev_fdb_dump {
-       struct switchdev_obj_fdb fdb;
+       struct switchdev_obj_port_fdb fdb;
        struct net_device *dev;
        struct sk_buff *skb;
        struct netlink_callback *cb;
 
 static int switchdev_port_fdb_dump_cb(void *obj)
 {
-       struct switchdev_obj_fdb *fdb = obj;
+       struct switchdev_obj_port_fdb *fdb = obj;
        struct switchdev_fdb_dump *dump =
                container_of(fdb, struct switchdev_fdb_dump, fdb);
        u32 portid = NETLINK_CB(dump->cb->skb).portid;