switchdev: Adding MDB entry offload
[cascardo/linux.git] / net / switchdev / switchdev.c
index df790d3..ebc661d 100644 (file)
@@ -345,6 +345,8 @@ static size_t switchdev_obj_size(const struct switchdev_obj *obj)
                return sizeof(struct switchdev_obj_ipv4_fib);
        case SWITCHDEV_OBJ_ID_PORT_FDB:
                return sizeof(struct switchdev_obj_port_fdb);
+       case SWITCHDEV_OBJ_ID_PORT_MDB:
+               return sizeof(struct switchdev_obj_port_mdb);
        default:
                BUG();
        }